Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to ... read connections string from app.config or web.config file

Loading...

Sign in or sign up now!
4,161
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 29, 2010

In this short tutorial I will show how to put and to retrieve connection strings (usualy write once, read many) from the config file.
There are 4 easy steps - and a table is read

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ignatandrei1970)

  • What if I will make a form to allow users to change sql database settings for connection string. How can I do that?

  • @mryeah07 : usually they do not need to do this for every time they run the application(do they?). If , however, they need, please make a new class to wrote to the connection string.

  • Great tutorial! I have a question in connection string. I need to deploy my application and make it as an installer. What connection string I will be using?

  • @mryeah07 : from the user - think that is an administrator that does the installation

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Ok thanks, the application will do this in the first time of using the application after the installation.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more