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
"CodeToad" <Ma********@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
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?