Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear professionals,
in my application the user will create a tree view on the run time my issue that i want to save the changes on the run time to be available for the next start of the application.
FYI: all other controls i am using My.setting.
Should i serialize it ? or there is another easier way.

i am sorry for such dummy questions.
Posted

1 solution

You can't serialize the control itself. You have to serialize, or otherwise save, the data used to build and populate the control. Upon the next run, your code would read the data back from the file and re-create the control as it was before.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900