Richard Payne
asked on
C#, XML to datagridvew for data load, edits and then save back (serialize and deserialize)
Based on earlier discussion, the datagridview would be better solution than listbox since it display member and associated data.
I have setup the datagridview and bind it which works fine.
The question is
(1) Would I benefit using Dataset to manage the data, if so why?, I do not need to sort or copy but need to make data member name visable as in datagridview.
(2) Once the data is modified within datagridview, I then click a button to save it (serialize), what code needed to do that?
(3) A demo code would be very useful.
I have setup the datagridview and bind it which works fine.
The question is
(1) Would I benefit using Dataset to manage the data, if so why?, I do not need to sort or copy but need to make data member name visable as in datagridview.
(2) Once the data is modified within datagridview, I then click a button to save it (serialize), what code needed to do that?
(3) A demo code would be very useful.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well done....I take it from there with much thank!
Form1.cs -
Open in new window
Form1.Designer.cs -Open in new window
Which produces the following output -After we close the form the changes are automatically saved to the Xml file:Open in new window
-saige-