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?



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

Answer / 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

More Dot Net General Interview Questions

Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

0 Answers  


What is Code group in .Net with respect to CAS

0 Answers  


Difference between class and interface in .net?

0 Answers  


How to write an MMC snap-in for my Windows service?

1 Answers  


What is a variable of implicit type and what is its scope?

0 Answers  


Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?

0 Answers  


what are design patterns in .net....?

2 Answers  


Difference between value type & reference types ?

0 Answers  


What is strong-typing versus weak-typing? Which is preferred?

0 Answers  


Which namespace is require to used XML in .NET?

0 Answers   Sans Pareil IT Services,


Is Driver Script any how related to AOM?

0 Answers   TCS,


Directcast(123.34,integer) - should it throw an error? Why or why not?

1 Answers   Wipro,


Categories