DataGridView visible columns

R

rmgalante

I've had troubles with my DataGridView objects in that it is often
difficult
to make columns such as key columns invisible. These DataGridViews use
a BindingList as a datasource, which is loaded from an external SQL
database. Setting the columns Visible property to False does not
always work. After fiddling around with it for hours I've gotten
others to work but still haven't figured out the source of the problem.
Anyone else had problems with this and any known workarounds?

Thanks,

Rob
 
R

rmgalante

I've had troubles with my DataGridView objects in that it is often
difficult
to make columns such as key columns invisible. These DataGridViews use
a BindingList as a datasource, which is loaded from an external SQL
database. Setting the columns Visible property to False does not
always work. After fiddling around with it for hours I've gotten
others to work but still haven't figured out the source of the problem.
Anyone else had problems with this and any known workarounds?

Thanks,

Rob

Here is what I did to solve this problem. I moved all the columns that
are supposed to be invisible to the end of the row. That seems to have
worked, but I have no idea why.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top