Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2009-07-05
1
1,043 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
ID: 24782490
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Upgrading my SSIS package in VS 2012 6 59
JSON Deserialize issue 6 26
query optimization 6 14
Disable TLS1.0 on Win 2012 server 7 24
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 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