ListBox Items
-
Hi! I have a TextBox with a Button and a ListBox. I will type in an email address and click the button and the email address will be added to the listbox. Simple enough. My question is this: How would I go about serializing the ITEMS in the ListBox to an XML file? I know how to create the XML file using the SOAPFormatter but I only serialize the first item in the listbox. I need to serialize all of the items in the listbox. Thank you!
Illegal Operation
-
Hi! I have a TextBox with a Button and a ListBox. I will type in an email address and click the button and the email address will be added to the listbox. Simple enough. My question is this: How would I go about serializing the ITEMS in the ListBox to an XML file? I know how to create the XML file using the SOAPFormatter but I only serialize the first item in the listbox. I need to serialize all of the items in the listbox. Thank you!
Illegal Operation
Have a look into it. Serializing and de-serializing a listbox to XML[^] I guess you are looking for this :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.