Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Hide a column in datagridview but still access data in column.

$
0
0

Hi

 

I am trying to hide a column in a datagridview but at the same time, retain access to it's data.  I can hide it by setting columns("name").visible = false - but then I cannot access the data in that column.  I also tried setting it's width to zero, but you still see the column as a sliver and it doesn't look very nice.

 

Anyone know a way to accomplish this?

 

note: using VB 2005.

 

Thanks

 

Matt


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>