• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Visual studio 2008 framework 3.5 C# : How set connection string dynamically in a dataset

I have a dataset with its Dataset1.xsd file.I want to set its connection in a database dynamically via code and not only  via app.config.
1 Solution
Rahul Goel ITILSenior Consultant - DeloitteCommented:
See, you can not trap your connection string out of DataSet1.xsd file..coz it is just the scheme for the resultset against the query.
You need to setup the connection string hardcoded in the database and the schema should be same.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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