Automatic scrolling DataGridView – C Sharp

Working with an array whose number of rows reaches tens of thousands may be troublesome. Adding the ability to automatically scroll through the array to the appropriate line could facilitate this work, especially if the points to which the scroll will not be accidental. The following code allows you to scroll the table to the selected line.

dataGridView.Rows[nr_wiersza].Selected = true;
dataGridView.FirstDisplayedScrollingRowIndex  = nr_wiersza;
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • MySpace
  • PDF

Related Posts

  1. No comments yet.

  1. No trackbacks yet.



edytor zdjęć online edytor zdjęć onlineSzlabany Warszawa Szlabany Warszawa Szlabany Warszawatworzenie stron www