Save DataGridView Control to my.settings

shaiss

New member
Joined
May 8, 2009
Messages
1
Programming Experience
1-3
I have a DataGridView Control that looks like this

_________________
Name1 |Name2|
_________________
JOE |JOE |
_________________
SHAI |SHAI |
_________________
STEVE |STEVE|
_________________
STEVE |STEVE|
_________________

I have a button called "save"

What I want:
When the user clicks the save button the data from the DataGridView gets saved into a my.settings value so that I can call it at a later time when the user renters this form or on another form.

Question:
What variable type should the my.settings variable be?
How would you commit the DataGridView data to this variable in code?
How would you call this variable to fill another DataGridView

Thank you everyone for your help!
 
Is it even possible to do that? My.settings were created for strings i thought, or variables similar to strings....use datasets/datatables to store your information, not relying on my.settings

My.settings can't do everything.
 
Back
Top