visual studio c# 2005 - dataset dynamic add remove tables.
Posted on 2014-10-13
I have done this in olddbadapter in VB.net, but now i am trying to do this in c#, learning C#.
dynamically add and remove tables instead of them being static in the dataset.
I have a combo box that I want to choose the selected value ( a table name in the DB) then dynamically create the table in the dataset then fill the new dataset table then set the datasource on datagrid to it.
i used to changed the select commands on the fly but do not know how to do this in visual 2005 c#.