第一种、GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;
第二种、用jquery
$( function () { |
$( "#GriView1 tr:first" ).wrap( "<thead></thead>" ); |
$( "#GriView1 thead" ).insertBefore( "#GriView1 tbody" ); |
$( "#GriView1" ).tablesorter(); |
|
}); |