Advertisement

05.17.2008 at 09:31AM PDT, ID: 23410840
[x]
Attachment Details

How to change the datasource for a dataset in vb.net Window app

Asked by PACCAST-DEV in .Net Editors & IDEs, Microsoft Visual Basic.Net, Visual Studio 2008

In my windows vb.net app (vs 2008) I had a dataset using a test database on sql server. I could not see how to edit the dataset to change the datasource in the Datasources window, so I tried to do it manually in code (change the connection strings) There were many places that referenced the database location and after changing them all somehow it messed up the connection/datasource/dataset. All my controls on the form lost the datasource/bindings, it will take me hours to redo all the data properties of the controls How can I simply change the datasource attached to the dataset so this doesn't happen again?

thanks,
Bruce MutchStart Free Trial
[+][-]05.18.2008 at 08:26AM PDT, ID: 21592992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 01:24PM PDT, ID: 21601234

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 01:34PM PDT, ID: 21601315

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 03:13PM PDT, ID: 21602064

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 01:14PM PDT, ID: 21663940

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 04:41PM PDT, ID: 21665218

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Microsoft Visual Basic.Net, Visual Studio 2008
Sign Up Now!
Solution Provided By: graye
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.29.2008 at 07:52AM PDT, ID: 21669679

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628