arasu selvaraj

arasu selvaraj

  • NA
  • 60
  • 1.6k

Data Gridview Scroll bar

Aug 26 2016 5:00 AM
Hi All,
 
When i trying to set dataGridView1.FirstDisplayedScrollingRowIndex value 0 to some onter index 1 or 2 or 3.
 
it gives on error
 
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
Additional information: Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.
 
Please help me. 

Answers (1)