bindingList对象的序列化/反序列化 [英] Serialization/Deserialization of bindingList objects

查看:145
本文介绍了bindingList对象的序列化/反序列化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户通过saveButton选择此选项,我将尝试序列化由绑定到dataGridView的bindingList持有的对象.我还希望在我的应用程序在启动时加载时,将序列化的对象加载到我的dataGridView中.

有人可以向我指出如何实现这一目标的方向.

预先感谢,
-DA

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

推荐答案

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


这篇关于bindingList对象的序列化/反序列化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆