Phreak Posted December 9, 2002 Posted December 9, 2002 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 doesn't work. Anywhelp? Quote If it works... don't worry, I'll fix it.
*Experts* Bucky Posted December 9, 2002 *Experts* Posted December 9, 2002 After setting the DataSource, I believe all you need to do is to call the DataBind method of the DataGrid. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.