Bruce Xiao 的程序生活

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2007年12月5日

摘要: 1、以下方法将一个对象序列化为可以在数据库中存储的字节数组private byte[] getByteData(SupplementData data){BinaryFormatter serializer =new BinaryFormatter();MemoryStream memStream =new MemoryStream();serializer.Serialize(memStream... 阅读全文
posted @ 2007-12-05 10:18 Bruce Xiao 阅读(7399) 评论(0) 推荐(0) 编辑