getting the value in a datagrid cell

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
 
G

Guest

Thanks
I was looking for that, I used to use/support the Excel programing newsgroup.
GY
 

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

Top