Hi,

I have a datagird in windows form, how I get the value from the column when user click then row.

For example, a datagrid contains the following column

productid,productname,productdesc

if a user clicks a row, it should return the productid of that row.
How could I do it?


Thanks,
Newbie