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:
What would trigger it to ignore the display rules?
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
Ive also tried to use the code:
Code:
CRGridview.Columns.Item(0).Visible = False