gridview增加thead 和tbody

第一种、GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;

第二种、用jquery

  $(function() {

   $("#GriView1 tr:first").wrap("<thead></thead>");

    $("#GriView1 thead").insertBefore("#GriView1 tbody");

    $("#GriView1").tablesorter();

});

posted on 2011-06-30 11:49  ☆ㄘㄨㄘ☆  阅读(490)  评论(0编辑  收藏  举报

导航