GridView绑定数据源,无记录时表头也显示的一种解决方法
摘要:
转:Show Header/Footer of Gridview with Empty Data Source public void BuildNoRecords(GridView gridView, DataSet ds) { try { if (ds.Tables(0).Rows.Count == 0) { ds.Tables(0).Rows.Add(ds.Tables(0).NewRow(... 阅读全文
posted @ 2006-06-06 08:58 kary 阅读(943) 评论(0) 推荐(0) 编辑