CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    3

    How to save changes in propertygrid

    Hi,

    I have a class containing some properties. I am creating an object to that class and assigning to propertygrid. I will change the values of the properties. Now i want to save the changes in properties to a xml file.
    How can i do this. I heard that propertybag class can help, but i don't know how to use it. Please any one of you help me.

    Thank u in advance.
    Bye,
    Sree.

  2. #2
    Join Date
    Nov 2003
    Posts
    2,185

    Re: How to save changes in propertygrid

    You can serialize the class to a file using the ISerializable interface.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured