Hello, i'm trying to connect DataSet to DataGridView in Whidbey beta 1, but no data are displayed. If i connect DataSet to old DataGrid, i see '+', then table and all rows. But DataGridView seems empty. Can anyone tell me, where is problem
DataSet ds = new DataSet();
ds = ... Web Service Method
dataGridView.DataSource = ds;

DataGridView and DataSet
Kfink04
sanaryans
Does anyone tried just attach full dataset Nothing more. I want to know if i am wrong or datagridview is not final for now.
richardjohnsen
Adrianagoni
That's not supported on the DataGridView - you need to provide a table name (DataMember) when binding to a DataSet.
Joe
Logicboy
oDs.Tables.count
You can get your table name from:
oDs.Tables(0).TableName
ellenf
Try setting DataMember to the table name.