Showing posts with label connection string. Show all posts
Showing posts with label connection string. Show all posts

Wednesday, September 3, 2008

To store connection string in application configuration file

Open up web.config file and inside the root element add the element.


connectionString="Data Source=(local); Initial Catalog=AdventureWorks; Integrated Security=SSPI; Persist Security Info=False" />
 
Google