Getting Hidden Colum Text DataGrid

  • Thread starter Thread starter Pete Davis
  • Start date Start date
P

Pete Davis

The same way you would retrieve any other column. The columns are numbered
starting at 0, hidden or not, so in your case, getting the value from column
0 will provide you with the primary key.

So myDataGrid[row, 0] will have the value.

Pete
 
I am using the DataGrid in a C# prog. I have hidden col0, which is hoolding
the PK of the row. How can I retrieve this value when the user clicks the
row?
 

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

Back
Top