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

Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?

2139


What is COM Interoperability in .NET

1023


What is difference between .net core and .net standard?

874


How can you turn-on and turn-off cas?

922


What are the improvements made in cas in .net 4.0?

898


SAP Business One(this is intigrated tool of .net)

2177


Explain about Behavioral design pattern?

1027


What is a .net class?

1112


Do you know what is .net standard?

1030


What is the difference between .net and laravel?

963


How do we access crystal reports in .net?

1055


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

887


What is an anonymous method?

1039


What are multicast delegates?

1013


Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?

905