dcsimg
Results 1 to 2 of 2

Thread: Save form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2011
    Posts
    198

    Save form

    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?

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    102,249

    Re: Save form

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width