Scrolling a DataGrid

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

Guest

Hi
How can I scroll down my DataGrid to to a specific row number in it

Thank
Amjad
 
Amjad,
ASP.NET or Windows Forms?

You can use DataGrid.CurrentRowIndex in Windows Forms to get or set the
index of the selected row.

You can use DataGrid.CurrentPageIndex in ASP.NET to get or set the index of
the currently displayed page.

Hope this helps
Jay
 

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