1
Answer

Data Gridview Scroll bar

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)