Click here to Skip to main content
15,888,610 members
Articles / Web Development / ASP.NET

Creating Connection String on-the-fly

Rate me:
Please Sign up or sign in to vote.
1.89/5 (3 votes)
26 Feb 2010CPOL 9.8K   2  
It is possible for us to create and manage Connection String at run time by using SqlConnectionStringBuilder class, So we can change connectionstring at any time. Example Code : SqlConnectionStringBuilder ConnBuild = new SqlConnectionStringBuilder();ConnBuild.DataSource =...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Junior) Excel Informatics, Pune
India India
Am Indrajeet T. Sutar. I am a web developer. I am working on .net technology. I have completed my Masters in Computers and Management (people call it as MCA, MBA etc.) Apart from programming i do photography (not regularly though), traveling and reading books.

Comments and Discussions