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
Different between .net & j2ee ?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
Which namespace is used to support multithearding in .NET?
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?
What is common type system (cts)?
Tell us why do we use the “using” statement?
What is "microsoft intermediate language" (msil)?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is meant by managed and unmanaged code?
What is meant by localization?
Can "this" be used within a static method?
What is 'Common Type System' (CTS) in .NET?
How will you make .NET programs work in Linux ?
What is .net latest version?
What is func in .net 3.5?