gridview 刚绑定数据时先把列隐藏,如果在事件 rowdatabound中 e.Row.Cells[5].Visible = false;只能隐藏itemtempalte里的数据。 GridView1.Columns[3].Visible = false;//一开始隐藏 相关文章: