<asp:TemplateField HeaderText="序号" InsertVisible="False" SortExpression="LessonID">
 <ItemTemplate>
     <asp:Label ID="Label2" runat="server"  
      Text='<%# this.GridView1.PageIndex * this.GridView1.PageSize 
                        + this.GridView1.Rows.Count + 1
%>'  >
      </asp:Label>
</ItemTemplate>
</asp:TemplateField>

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2021-08-19
  • 2022-02-11
  • 2021-11-18
  • 2021-11-22
  • 2021-05-22
  • 2021-08-30
猜你喜欢
  • 2021-07-20
  • 2021-12-24
  • 2022-12-23
  • 2021-12-10
  • 2022-01-26
  • 2021-12-04
  • 2022-02-02
相关资源
相似解决方案