So how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process ?
Answer / sudhanshu
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 |
What are the ways in which client can create object on server in cao model?
What?s the difference between an interface and abstract class?
if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...
What is default c#?
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
Explain the working of serialization?
What is type casting. Explain it with reference to classes.
2 Answers HCL, JPMorgan Chase,
Why delegates are type safe in c#?
What is callback function in c#?
What are the access allowed for compilation units(namespace),class and structs and what are its default access?
In which order the constructor is called for an inherited class?
What is a string c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)