I have a GridView with a DataSource (SQL Database). I want to hide a column, but still be able to access the value when I select the record. Can someone show me
DataSource
I have a new solution hide the column on client side using css or javascript or jquery.
.col0 { display: none; }
And in the aspx file where you add the column you should specify the CSS properties: