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
How can I configure asp.net applications that are running on a remote machine?
What is state management in .net?
How can we create Tree control in asp.net?
Can we handle the error and redirect to some pages using web.config?
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
What is xaml? Are xaml file compiled or built on runtime?
what is publisher?
To wrap up a call to a Web service the standard used is..?
What is viewstate? What does the “enableviewstate” property do?
What are directives in asp.net? List down all the important directives.
Explain the benefits of viewstate?
Describe how to implement globalization and localization in the use interface in .net.
Where is the session stored?
What is the difference between custom web user control and a custom web server control?
Explain MVC model binders?