Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What methods are fired during the page load? Init()

973


What do you understand from custom control?

1129


How can we create Tree control in asp.net?

1042


What are the various ways to send content from one page to another?

917


How can you implement encapsulation in asp.net?

13062


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

1089


What do you mean by authentication?

1076


What are session cookies?

1016


What is the difference between custom web user control and a custom web server control?

971


What is a web pool?

1127


Explain the difference between asp & asp.net.

1027


What is clr? Difference between clr & cts?

1191


What is the difference between web config and machine config files?

1013


What is OSI layer? Explain different layers.

1067


Explain the use of duration attribute of @outputcache page directive.

1121