I am using windows application and I have four combo boxes(comboeventname,combosendtype,comboType,comboschedule) in that form…. I have stored that combo values in to XML file by using XML writer…
Now I want to display the data in that combo boxes in form load event when form opens in run time… How to retrieve that values from that XML file and how to display that data in combo boxes while run time? How shall I do this?
Anyone tell me the solution of this…..
Thanks in Advance…
Probably much easier to use XmlDocument , or XDocument.
XmlDocument:
http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.selectsinglenode.aspx
XmlReader is better used for large XML files, 1000s of elements, where you don’t want to load the whole document into memory. Your document sound far to small to use XmlReader.