Hi all
Just wondering if it possible to save a form.
I have a form with dgv and various other user selected options.
Is there a way to save this form on closing so that it will open again exactly as it was closed?
Printable View
Hi all
Just wondering if it possible to save a form.
I have a form with dgv and various other user selected options.
Is there a way to save this form on closing so that it will open again exactly as it was closed?
It's not a matter of saving the form. It's a matter of saving the data. If you want to save the data in the grid and you're not already using a database then you could use a DataTable and call its WriteXml and ReadXml methods to save and load the data in an XML file. As for the other data, it depends on the data as to what's the best way to save it.