Groups | Blog | Home
all groups > dotnet windows forms databinding > december 2005 >

dotnet windows forms databinding : DataColumn in DataGridView visible even it's false?



Oka Morikawa
12/15/2005 6:58:35 PM
I have DataGridView where I have DataColumn and it's Visible property is
False but still it shows it in DataGridView?

On some other form it works as supposed but on some forms it doesn't. Is
this known bug in form designer generated code?


Regards,
Oka Morikawa
D I G I N E

Bajoo
12/16/2005 12:05:17 AM
Dear Morikawa,
Can you paste the code from both forms which
deals with ur problem here.

Regards,
Naveed Ahmad Bajwa
http://bajoo.blogspot.com/
RichS
12/16/2005 2:01:11 AM
In previous projects I've set the width of the DataColumn to 0. This
seems to fix the problem ( not sure if it is the best solution though!
).

RichS
AddThis Social Bookmark Button