摘要: 1、GridView<asp:TemplateField HeaderText="自增列" FooterText="自增列"> <ItemTemplate> <%# (Container.DataItemIndex+1).ToString()%> </ItemTemplate> </asp:TemplateField>2、DataGridA.AllowPaging=False情况下,使用一下方法可以实现。<asp:DataGrid id="DataGrid1" runa 阅读全文
posted @ 2011-11-22 09:51 走路到纽约 阅读(232) 评论(0) 推荐(0) 编辑