下载flexgrid.js
https://code.google.com/p/flexigrid/downloads/list?q=label:Featured
设置GridView 含有 thead tbody tfooter
protected void GridView1_PreRender(object sender, EventArgs e)
{
if (GridView1.Rows.Count > 0)
{
// 使用<TH>替换<TD>
GridView1.UseAccessibleHeader = true;
//This will add the <thead> and <tbody> elements
//HeaderRow将被<thead>包裹,数据行将被<tbody>包裹
GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;
// FooterRow将被<tfoot>包裹
GridView1.FooterRow.TableSection = TableRowSection.TableFooter;
}
}