ASP.NET2.0下含有DropDownList的GridView编辑、删除的完整例子!
|
日期:2006年10月30日 作者: 查看:[大字体
中字体 小字体]
|
|
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" PageSize="10" Width="542px" AllowPaging="True" AllowSorting="True" DataKeyNames="DB31_1,DB31_2" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnSorting="GridView1_Sorting" > <Columns> <asp:TemplateField HeaderText="序号"> <ItemTemplate> <%# this.GridView1.PageIndex * this.GridView1.PageSize + this.GridView1.Rows.Count + 1%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="学历代码" SortExpression="DB1_1"> <EditItemTemplate>
上一篇:在C#中把两个DataTable连接起来,相当于Sql的Inner Join方法
下一篇:调整错乱盘符的解决方案
|
| ASP.NET2.0下含有DropDownList的GridView编辑、删除的完整例子! 相关文章: |
|
|
|
| ASP.NET2.0下含有DropDownList的GridView编辑、删除的完整例子! 相关软件: |
|
|
|