This is a discussion on Which is the best place to store connectionstring in .NET projects ? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, Any one Explain. Thanks, Sundar Raja...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| In web.config we can store the connection string there is one tag called connectionStrings in web.config Pls see the code below <connectionStrings> <add name="ConnectionString1" connectionString="Data Source=localhost;Initial Catalog=DBanme;Persist Security Info=True;User ID=sa;Password=password" providerName="System.Data.SqlClient"/> </connectionStrings> Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LDAP server in Java WEb projects? | saravanan | Java Server Pages (JSP) | 0 | 03-21-2008 03:59 AM |
| How to Place Icon In URL | velhari | HTML, CSS and Javascript Coding Techniques | 1 | 11-28-2007 06:56 AM |
| WM 6 emulator not accessing web projects on my machine :( | theone | Windows Mobile | 1 | 07-27-2007 05:45 AM |
| What are the situations we have to use a Web Service and Remoting in projects in asp. | oxygen | ASP and ASP.NET Programming | 1 | 07-26-2007 04:00 AM |
| Place to start with, Hi all | capture | Introductions | 4 | 03-25-2007 08:03 AM |