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 |
How can an inner class access the members of outer class?
What happens if you add duplicate elements to a set?
What language is arduino?
How do you debug an ASP.NET Web application?
1 Answers Rolta, Siebel Systems,
I have a class declared as below public class a { public void add() {} } What is the diference between a a1 =new a; and simply a a1;
what are wrapper classes?
how to retrive a TextBox value in to Sql database using C# windows form application coding
Is there any way to access private memebers of an object from another object?
Do loops in c#?
Is it possible to nest cfml conditional tags?
Explain about generics in c#.net?
How do you ensure the assembly created in c# is interoperable with vb.net?
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)