2014年9月24日

gridview如何隐藏一列数据,但又可以使用这列数据

摘要: 解决方案在RowCreated事件中书写如下代码 void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { e.Row.Cells[0].Visible = false; //如果想使第1列不可见,则将它的可见性设为fals 阅读全文

posted @ 2014-09-24 09:51 lxboy 阅读(295) 评论(0) 推荐(0) 编辑

导航