Phreak
Well-known member
If I have multiple tables "cached" in a dataset, and a dropdown list of those tables, how can I set my datagrid to display these tables in the datagrid?
For example I have:
With DataGrid1
.DataSource = dsSeedList.Tables(CType(cmbTables.SelectedItem, String))
.AllowSorting = True
.AlternatingBackColor = System.Drawing.Color.Beige
.SetDataBinding(DataSet11, getTable)
End With
but that doesnt work. Anywhelp?
For example I have:
With DataGrid1
.DataSource = dsSeedList.Tables(CType(cmbTables.SelectedItem, String))
.AllowSorting = True
.AlternatingBackColor = System.Drawing.Color.Beige
.SetDataBinding(DataSet11, getTable)
End With
but that doesnt work. Anywhelp?