1对DataGrid控件中的列进行排序的例子<HTML>
 2对DataGrid控件中的列进行排序的例子    <HEAD>
 3对DataGrid控件中的列进行排序的例子        <title>DataGridSort.aspx</title>
 4对DataGrid控件中的列进行排序的例子        <script runat="server">
 5对DataGrid控件中的列进行排序的例子
 6对DataGrid控件中的列进行排序的例子void Page_Load(Object sender , EventArgs e) 
 7>

因为 dgrdTitles的AllowSorting="True",所有列的页眉都显示为超链列,通过点击超链列引发SortCommand,从而改变不同的绑定。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-02-08
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案