selected rows in DataGrid

G

Guest

I need to be able to jump to first selected row in DataGrid.
How can I do this without using IsSelected for each row?
Is there some sort of collection which contains all selected rows?

Thank you.
 
B

BBFrost

Alex,

You might look up the following 2 message threads in the archives ...
they'll help to answer your questions.

"c# Winforms DataGrid: What's the difference between highlighted and
selected rows ???"
"Rows 12 thru 24 are selected in a datagrid. How do I tell when the user
selects rows 45 thru 70 ???"

Just had a bout with this issue myself.

Hope this helps.

Barry
in Oregon
 

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