How to convert xml file to front end
I have a xml configuration file with some values. i want to convert it to UI or front end. If i have enumeration values it should be converted into dropdown list. if i have some textbox value then it should be a textbox.
Jaganathan BantheswaranPosted Apr 26, 2011, 9:12 AM
Simply read the xml file and check whether it is enumeration or not. if it is enumeration the dynamically add dropdownbox if it is textbox value then add textbox into the page.
For reading xml file refer link1 and link2
For adding controls dynamically, refer this
Suthish NairPosted Apr 26, 2011, 9:02 AM
For simple display of xml on web page, you can asp:xml control.
Different ways of reading an XML file