Click here to Skip to main content
14,826,929 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to Serialize the objects held by my bindingList that's bound to a dataGridView if the user selects this option via a saveButton. I also want the serialized objects to load into my dataGridView when my application loads at startUp.

Can someone please point me in the direction on how to go about achieving this.

Thanks in advance,
-DA
Posted
Updated 10-Mar-12 12:53pm
v2
Comments
Sergey Alexandrovich Kryukov 10-Mar-12 18:51pm
   
And what is the problem?
--SA
Shahin Khorshidnia 10-Mar-12 19:10pm
   
Start with this:

https://www.google.com/#hl=en&sclient=psy-ab&q=How+to+serialize++an+object+c%23&oq=How+to+serialize++an+object+c%23&aq=f&aqi=&aql=1&gs_sm=3&gs_upl=42901l46375l4l46895l7l7l0l0l0l2l1449l3582l6-1.2l3l0&gs_l=hp.3...42901l46375l4l46895l7l7l0l0l0l2l1449l3582l6-1j2l3l0.pfwc.1&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=fb2e33546f0a907c&biw=1280&bih=631

1 solution

Useful article is available with the sample code at CodeProject Fixing BindingList<t> Deserialization[^]
   

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