Invisible Column in System.Data.DataRow?

  • Thread starter Thread starter Jayme Pechan
  • Start date Start date
J

Jayme Pechan

Does anyone know of a way to make an invisible column in a
System.Data.DataRow? In particular, I need it to work on a web application.
I was planning to store a record identifier in this row so that I could
identify the record on postback. The problem is that all the rows seem to
display and I don't really want to show the user this id field.

Perhaps someone knows a better way to do this? Thanks.
 
There's nothing in the row that is concerned with visibilty. You can just
create the grid beforehand and don't map the column that you don't want
shown - or set its width to 0.
 
Back
Top