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

How can I configure asp.net applications that are running on a remote machine?

1051


What is state management in .net?

1065


How can we create Tree control in asp.net?

1034


Can we handle the error and redirect to some pages using web.config?

1620


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

971


What is xaml? Are xaml file compiled or built on runtime?

973


what is publisher?

2098


To wrap up a call to a Web service the standard used is..?

972


What is viewstate? What does the “enableviewstate” property do?

915


What are directives in asp.net? List down all the important directives.

929


Explain the benefits of viewstate?

1023


Describe how to implement globalization and localization in the use interface in .net.

958


Where is the session stored?

1097


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

964


Explain MVC model binders?

1064