Solved

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

Posted on 2009-07-05
1
1,039 Views
Last Modified: 2013-12-17
I made a dataset with its xsd file.I want to change connection string with parameter not changing directly app.config file.
0
Comment
Question by:nikavak
1 Comment
 
LVL 51

Accepted Solution

by:
Mark Wills earned 500 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now