can i use two web.config files of ConnectionString in One
Default.aspx page

Answer Posted / pradeep

To: Amar Shah

While using Webconfig file in your project, you can
override the Machine configuration details. If you are
having the webconfig in sub folder, this will override your
root folder webconfig file.

Ex:

Root: Webconfig -- ConnString ="Root Connection"
Sub Folder Webconfig -- ConnString ="Sub Connectin"

If your page in Root folder, the "ConnString will take from
Root folder webconfig. If it is in Sub folder, obviously it
will take from subfolder webconfig file.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to rename a table using sql queries?

771


What is loop in asp.net?

802


When was asp.net released?

745


What is the difference between GridView and Repeater controls in ASP.NET?

794


What is asp.net with mvc? : Asp.Net MVC

719


Explain the difference between an exe and a dll?

719


Why we use asp.net for website development?

686


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

1708


What is query string?

781


Explain how can we access static variable?

807


What is server transfer?

682


What is autopost?

734


What is rending process in ASP.NET?

819


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

820


What are session cookies?

753