I have a number of stored procedures. I used the .net server explorer and the dataset generator to create table adapter and table pairs.
Now in my code I want to dynamically instantiate these table adapters based on the user selecting a choice from a list (the report of their choice which corresponds to a stored procedure and table adapter).
The problem is I can't seem to instantiate the table adapter properly. The table works fine and when I do the table adapter, I can drill down on the properties at run time and even find and invoke the fill method, but when I try to set the connection string, I can't find it using getproperty. Does anyone have an example that works for how to do this? I've tried a few examples I found online, but nothing seems to work.