摘要: 在项目中查询时,因数据量大,导致网络传输很慢,这就需要在服务器端查询出的数据进行压缩处理,后传输完了在客户端进行解压处理(此为在Silverlight中压缩与解压); 具体方法如下:using Newtonsoft.Json;using Telerik.Windows.Zip;////服务器端对查询出的数据进行压缩处理public static string CompressString(string str){ string result = string.Empty; try { Memory... 阅读全文
posted @ 2013-01-10 14:33 小邹1018 阅读(302) 评论(0) 推荐(0) 编辑