Hide a column in DataGrid (Windows Forms)

By [)ia6l0 iii

Use the ColumnMapping Property of the Column to set the visibility of a column in a DataGrid Control.

For e.g.

myDataTable.Columns [3].ColumnMapping =MappingType.Hidden ;

would hide the 3rd column.

Hide a column in DataGrid (Windows Forms)  (1110 Views)