I have a gridview that uses autogenerated columns, because the user can select the columns to return in a query. I want to hide the column with the identity. How do I hide the autogenerated column? Even in the databound event the columns count is zero.
I have a gridview that uses autogenerated columns, because the user can select the
Share
I discovered how to do this. You need to use the rowdatabound event and hide the cell when the row is bound.