|
suppose DataGrid named dgCustomize,insert the following codeto the first column. <asp:TemplateColumnHeaderText="No."> <ItemStyleHorizontalAlign="Center"></ItemStyle> <ItemTemplate> <asp:Labelrunat="server"Text='<%#dgCustomize.CurrentPageIndex*dgCustomize.PageSize+dgCustomize.Items.Count+1%>'> </asp:Label> </ItemTemplate> </asp:TemplateColumn>
|
给DataGrid添加Number列的简单方法
最新推荐文章于 2019-03-26 08:10:30 发布
由于博客内容为空,暂无法提供包含关键信息的摘要。

528

被折叠的 条评论
为什么被折叠?



