By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,331 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

TableAdapter DataSource - runtime/designtime

P: n/a
The design time Connection string for my table adapters don't
change/can't be set during run time.

I have a business layer class project and added a typed dataset. In
VS2005 the Table adapter comes with it. Great! But the
Datasource/ConnectionString is automagically set to the DB from which I
did the drag and drop.

I want to use this TA in a UI. The UI has the same My.Settings
connectionstring setting in it, but with a different value. When I run
the UI the TA's datasource is still the one created at design time and
I cannot figure out how to override that.

Any clues?

Apr 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.