摘要: 需求:GridView生成的Table 要求添加<thead><tbody><tfoot>标签,以便集成Jquery相关插件使用(如:Jquery-easyUI datagrids)解决方案: protected void GridView1_PreRender(object sender, EventArgs e) { if (GridView1.Rows.Count > 0) { // 使用<TH>替换<TD> GridView1.UseAccessibleHeader = true; //This will add the 阅读全文
posted @ 2011-03-24 21:09 老虞 阅读(2019) 评论(0) 推荐(1) 编辑