Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16041

Datagridview Column 0 keeps reappearing

$
0
0
This is for a winforms application within Visual Studio
Is there a knack to keeping the ID column of a gridview hidden?

I seem to have an issue whereby the first column (always the ID column) seems to reappear in some instances when navigating around the application. It views correctly on first view.

Its selected as hidden in design view
Name:  Untitled.png
Views: 44
Size:  22.4 KB
Ive also tried to use the code:
Code:

CRGridview.Columns.Item(0).Visible = False
What would trigger it to ignore the display rules?
Attached Images
 

Viewing all articles
Browse latest Browse all 16041

Trending Articles



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