摘要: ///<summary>///通过单利模式实现数据程序缓存///DataInstanct.GetInstan().Add(0)[写入数据]///DataInstanct.GetInstan().Clear()[清空数据存储]///</summary>publicclassDataInstance{///<summary>///数据仓库///</summary>publicstaticList<int>dataWarehouse=newList<int>();privatereadonlystaticDataInstanct 阅读全文
posted @ 2012-05-31 17:05 Rhythmk 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.Get请求cs:privatevoidDownload(){stringurl="http://localhost:13936/GetData.aspx?id=getwangk";WebClientclient=newWebClient();client.DownloadStringCompleted+=newDownloadStringCompletedEventHandler(DownloadBind);client.DownloadStringAsync(newUri(url));}privatevoidDownloadBind(objectsender,Down 阅读全文
posted @ 2012-05-31 11:17 Rhythmk 阅读(2091) 评论(2) 推荐(0) 编辑
Rhythmk 个人笔记