views:

28

answers:

4

What is the standard convention to save data in textboxes and other form data to be loaded the next time the program is opened?

A: 

Not sure of the standard convention, or if there is one, but saving to a text file would be a simple-to-implement solution.

Ryan
+1  A: 

I personally do not know of any convention, however you could look into the following methods:

Lazlo
A: 

It depends on the kind of data that you are trying to save. If this is a relatively small amount of user specific data associated with their user preferences, then user settings are the way to go.

If this is large amount of application data (for example like an entire address book), then you are probably better off writing to an external file or database in whatever format suits your needs.

Rob Cooke
A: 

You should be looking at Windows Forms data binding - that is the best way to save data from and reload data into a Windows Forms application. Once you have set up your form controls for data binding, you have a choice of where to store the data, as explained here.

Paul Keister