How can I hide a datagrid column in a windows form

wdw

Active member
Joined
Dec 11, 2002
Messages
37
I want to hide a datagridcolumn, but I dont know how??
Can someone help me on this question??

greetz:confused:
 
thank you very much
Im gonna check this link out first thing tomorrow morning
 
Hello Wamphry,

The method that was used in the microsoft example, did not work for me, because if I hide a column in the dataset. I cant use the value of the column in my code again. So is there a method that I can use to hide the column and still use the value of the hidden column??

thanks anyway
 
I can live with a method that makes the columns fontcolor the same as the background.
 
Youll need to create a DataGridTableStyle object. It defines the look and feel of your grid and also allows you to specify what columns to display. Check it out in the .NET help for more info.

-ner
 
Back
Top