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...

how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?

Answer Posted / saravankumar

Initialize an instance of AppSettingsReader class. Call the
GetValue method of AppSettingsReader class, passing in the
name of the property and the type expected. Assign the
result to the appropriate variable. In Visual Studio yes,
use Dynamic Properties for automatic .config creation,
storage and retrieval.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is .net used?

999


What is .net core used for?

969


What is managed code and managed data in .net?

1070


Explain how to rename a table using sql queries?

1067


What is heap and what is stack?

1093


Define satelite assembly?

1060


Please explain what is reflection and what is it for?

939


What is "microsoft intermediate language" (msil)?

1036


One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?

960


Explain what is a delegate?

1036


How will you make .NET programs work in Linux ?

2014


How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?

956


Define code access security (cas)?

1010


Tell us the difference between the while and for loop. Provide a .net syntax for both loops?

967


How do you turn off cookies for one page in your site? Give an example.

955