arasu selvaraj

arasu selvaraj

  • 1.4k
  • 296
  • 4.8k

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)