getting the value in a datagrid cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a datagrid, populated via a SQL dataset, and I want the user to select
a row by clicking on it and then using the value in the first cell as my key
for my next query. Using CurrentCellChanged works unless I want the row which
has a cell selected and I click on that cell, obvious answer click another
cell in that row, but I have to code for stupid users!
I tried the click event but that didn't work, maybe I was doing something
wrong.
Can I open the datagrid with no cell selected?

TIA
 
Back
Top