Hello,
My question is not so simple:
I have a WindowsForm with a diffrent controls like: textboxes, comboboxes, checkboxes, datetimepickers, listview and so on...
How can i create temporary data at runtime in an array /I dont want to use My.Settings/ which will save all control values and when needed to reload them back from that specific array?
Thanks for any help!
DobyMoby
0
Newbie Poster
Recommended Answers
Jump to PostTemporary data, by definition, does not need to be saved. If you are referring to saving in one session, then restoring it in another, you would use either My.Settings (which you don't seem to want to use) or some other external store like a database or other file. Typically you …
Jump to Post
The following code may be a poor solution, but as far as I know controls are not serializable unless having a custom serializable class for each type of control. This is a workaround. Another possibility could be to …
All 6 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
DobyMoby
0
Newbie Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
xrjf
213
Posting Whiz
Premium Member
xrjf
213
Posting Whiz
Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.