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
What methods are fired during the page load? Init()
What do you understand from custom control?
How can we create Tree control in asp.net?
What are the various ways to send content from one page to another?
How can you implement encapsulation in asp.net?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
What do you mean by authentication?
What are session cookies?
What is the difference between custom web user control and a custom web server control?
What is a web pool?
Explain the difference between asp & asp.net.
What is clr? Difference between clr & cts?
What is the difference between web config and machine config files?
What is OSI layer? Explain different layers.
Explain the use of duration attribute of @outputcache page directive.