W
Wanjun Yu
I have multiple tables that have the same structrues that I need to switch
at run-time.
for example, I have table A, B and C, they all have the same structure. At
run-time, the GUI will determin which table I'll be queriying on.
I can build the Datasets and TableAdapters at design time, but I can't seem
to access the (select) commands at run-time. If I do, I can just replace the
talbe name and it shoud query on the table I have specified.
I guess I can use the DataAdapters , get the commands and change them at
run-time. I'm just wondering about the TableAdaters, since that's the
default that Visual Studio 2005 creaets.
Thanks!
WJ
at run-time.
for example, I have table A, B and C, they all have the same structure. At
run-time, the GUI will determin which table I'll be queriying on.
I can build the Datasets and TableAdapters at design time, but I can't seem
to access the (select) commands at run-time. If I do, I can just replace the
talbe name and it shoud query on the table I have specified.
I guess I can use the DataAdapters , get the commands and change them at
run-time. I'm just wondering about the TableAdaters, since that's the
default that Visual Studio 2005 creaets.
Thanks!
WJ