How to save the items collection?How to add item to diferent column?

Hello.In my aplication I have a listbox.The user can add items to the listbox but when I close the program the settings are not saved.In the "Application Settings" I don't find "Items Colection" or....I don't now...help..please


2 - I have 3 columns

Name Adress Country

How I can add items to name, and after that to adress,etc


Answer this question

How to save the items collection?How to add item to diferent column?

  • orid

    hi,

    saving a control is not a good practice, you can save the data in a file , populate your control when the form load , save the data when the form is closed

    you can use textfile, xml, or what ever data storage you want

    hope this helps



  • How to save the items collection?How to add item to diferent column?