ASP.NET中DateGrid加序号
创建一个模板列
再添加以下代码
ASP.NET中DataGrid加序号<asp:TemplateColumn HeaderText="序号">
ASP.NET中DataGrid加序号                                            
<HeaderStyle Width="120px"></HeaderStyle>
ASP.NET中DataGrid加序号                                            
<ItemTemplate>
ASP.NET中DataGrid加序号                                                
<%#Container.ItemIndex+1%>
ASP.NET中DataGrid加序号                                            
</ItemTemplate>
ASP.NET中DataGrid加序号                                        
</asp:TemplateColumn>
NinetyNine学习

相关文章:

  • 2021-07-27
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-08-15
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-12-28
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案