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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top