Saving control settings

J

John

Hi

How can I save settings of all controls on a form to an xml file using code?
There may be some container controls containing child controls on the form
too.

Many Thanks

Regards
 
C

Cor Ligthert[MVP]

John,

With a lot of work, but you have first to design what settings.

Not every control has the same properties.

As it is to an XML file then an easy method is to create a dataset and to
read that with readXML and to write that with WriteXML

Be aware that this is old fashion already because since Framework 2.0 we
have the isolatedstorage

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top