I made a webpage using c# asp.net. It has various text fields and dropdown lists and a radio button. Now i want to save the data into an xml file. and i’m not really able to understand on how to go about it.
The various attributes in my page are TEXTBOX: GInfo; LNo; Org; UName; SType; Ver; MeapSupp; MaxUser; MaxMach; MachIP; MachMac; UqID
DROPDOWNLIST: LType
RADIO BUTTON: MeapSupp
I’m new to XML and asp.net and c#. Can you please help me out.
You can use this code – based on
XmlTextWriter classLink : http://msdn.microsoft.com/fr-fr/library/system.xml.xmltextwriter.aspx
You can also use LINQ To XML
Link : http://msdn.microsoft.com/en-us/library/bb387098.aspx