M
mttc
I read this article:
HOW TO: Populate Datagrid on Background Thread with Data Binding by Using
Visual
http://support.microsoft.com/kb/318604/
I try it, I call from new thread to binding DS to control . And I find out:
This code throws exception:
DataGrid1.DataSource = Ds
DataGrid1.DataMember = "Table1"
And this code not make any problem:
Textbox1.DataBindings.Add("text", Ds, "Table1.Colum1")
I wonder what different between?
HOW TO: Populate Datagrid on Background Thread with Data Binding by Using
Visual
http://support.microsoft.com/kb/318604/
I try it, I call from new thread to binding DS to control . And I find out:
This code throws exception:
DataGrid1.DataSource = Ds
DataGrid1.DataMember = "Table1"
And this code not make any problem:
Textbox1.DataBindings.Add("text", Ds, "Table1.Colum1")
I wonder what different between?