DataGrid Events - How to mark all row when user uses the keyboard

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

Guest

Hello,

I have a dataGrid that contains customers details, i made an event that when
the DataGrid is loaded the first row is marked or when some row is clicked
this row is marked, how can i do that when the user uses the Up and Down
arrows, it will mark the row that the user is on now. i tried to use the key
event but it wasn't good. is there any other way to do it? or if that's the
only way how can i do it right?

I looked at the Windows Forms FAQ, and didn't find the answer there.
There must be a way to do it....
Thank you very much,
Gidi
 
Thanks Cor ,

Can u explain me more about it, the msdn doesn't explain much about it.

Thanks again,
 
Doh,

I thought I was answering this from General. (I know not the first time)

Therefore if that VBNet code is unreadable for you, than respond. Than I
will give another answer using C#.

Sorry

Cor
 

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

Back
Top