摘要: public static DataSet DataSetDeserializeDecompre(byte[] b)        {            FileStream fss = File.Create("datase... 阅读全文
posted @ 2009-06-04 10:46 根本风流 阅读(329) 评论(0) 推荐(0) 编辑
摘要: public static byte[] DataSetSerializerCompression(DataSet ds) //这里我是将一个DataSet序列化及压缩,最后以byte形式返回 { IFormatter formatter = new BinaryFormatter();//定义BinaryFormatter以序列化DataSet对象 MemoryStream ms = new... 阅读全文
posted @ 2009-06-04 10:05 根本风流 阅读(783) 评论(0) 推荐(0) 编辑