How many different ways for store database connection string in asp.net ?

 Posted by Rajkatie on 3/4/2012 | Category: ASP.NET Interview questions | Views: 3181 | Points: 40
Answer:

You can choose among the following locations for string database connection strings

1) web.config

2) Universal data link (UDL) file (only for OLEDB.Net data provider)

3) Window registry

4) Custom file

5) Com+ catalog


Source: MSDN | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Jish on: 3/6/2012 | Points: 10
will you try to post examples also?

Login to post response