Asp.net_基于VS2008+Oracle+PL/SQL开发环境的项目开发(4)
来源:未知 责任编辑:责任编辑 发表时间:2014-01-25 11:36 点击:次
<div>
<asp:GridView ID="gvUser" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<asp:CheckBox ID="chkAll" runat="server" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkCurrent" runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="ID" HeaderText="编号" />
<asp:BoundField DataField="Name" HeaderText="姓名" />
<asp:BoundField DataField="Age" HeaderText="年龄" />
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>
Default.aspx.cs
[html]using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
//引入
using System.Data.OracleClient;
using System.Text;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>