怎么让dataGrid1某一列不显示
如何让dataGrid1某一列不显示
dataGridView1可以这样写
this.dataGridView1[ "ITEM_ID ", row].visable = false;
那dataGrid1要怎么来实现某一列不显示
------解决方案--------------------
设置绑定列,然后把自己需要的字段显示就可以了。
------解决方案--------------------
设置Cell[i]的display
------解决方案--------------------
在dataGrid的数据绑定事件中。
e.Row.Cells[7]).Style( "display ") = "none "
dataGridView1可以这样写
this.dataGridView1[ "ITEM_ID ", row].visable = false;
那dataGrid1要怎么来实现某一列不显示
------解决方案--------------------
设置绑定列,然后把自己需要的字段显示就可以了。
------解决方案--------------------
设置Cell[i]的display
------解决方案--------------------
在dataGrid的数据绑定事件中。
e.Row.Cells[7]).Style( "display ") = "none "