How to make navigation buttons move datagrid lines and select a line by button?

Hi Experts

I'm migrating an existing and running app to Windows Forms C# and struggling on how to replicate this functionality by using datagrid.

01
The navigation buttons must to move between the datagrid lines.

Plus I need to permit a line selection - by button too.

Thanks in advance!
Eduardo FuerteAsked:
Who is Participating?
 
wdosanjosConnect With a Mentor Commented:
DataGrid.CurrentRowIndex gives you the current row selected.  Then you can use DataGrid.Select() to select the desired row.
0
 
ArkConnect With a Mentor Commented:
Or you can use BindingNavigator - it already contains navigation buttons
0
 
Eduardo FuerteAuthor Commented:
Now it's up to me to apply!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.