Could you help me to find out what event I can use to get value of the row of a DBgrid control on click event. Thanks
Printable View
Could you help me to find out what event I can use to get value of the row of a DBgrid control on click event. Thanks
add 'currentcellchanged' event to your datagrid.
then:
dg.currentcell.rownumber will give you the row
datagrid1.currentRowIndex will also give you the row.