Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1059
  • Last Modified:

How to change connection string for a dataset the has an xsd file

I made a dataset with its xsd file.I want to change connection string with parameter not changing directly app.config file.
0
nikavak
Asked:
nikavak
1 Solution
 
Mark WillsTopic AdvisorCommented:
XSD has a property called ConnectionModifier - think you have to change it to Public...

Have a quick read of : http://stackoverflow.com/questions/435444/changing-xsd-connectionstring-at-runtime-for-a-multitenant-app

Have you seen this : http://channel9.msdn.com/forums/TechOff/209406-Connection-String-for-Typed-Datasets/ it does ramble a bit, but there is a few solutions presented, and the final post is a step by step guide....  Also found this reference, though believe the connection string was read only, but there are some insights :  http://ryanfarley.com/blog/archive/2004/07/13/879.aspx
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now