How to insert rows onto Datagridview from multiple Thread without dead lock

  • Thread starter Thread starter Sudip_inn
  • Start date Start date
S

Sudip_inn

Guest
please tell me best way to insert rows onto Datagridview from multiple Thread without dead lock. from my multiple thread i want to insert data into datagridview but also scare any dead lock may occur. so tell me best approach.

dataGridView1.Invoke((MethodInvoker)delegate
{
dataGridView1.DataSource = null;
dataGridView1.DataSource = myList.ToList();
});



thanks

Continue reading...
 
Back
Top