K
Kosmas Nikolaidis
Hi,
I want to fill a datagrid from a separate thread.
How i use the invoke method?
thanks
I want to fill a datagrid from a separate thread.
How i use the invoke method?
thanks
Kosmas Nikolaidis said:Hi,
I want to fill a datagrid from a separate thread.
How i use the invoke method?
thanks
Maqsood Ahmed said:Hello!
You can use invoke method from worker thread as
public delegate void GridFillInvoker(DataGrid dr);//Delegate
dataGrid.Invoke(new GridFillInvoker(FillGrid),new object[]{dr}); //Where
dr is the datarow...
It'll be easy to solve the problem if you tell exactly how do you want
to fill the grid.
Cheers
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net