gsk's place

my love

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

2011年8月28日

摘要: 以下是PetShop中DBHelper中的使用过程://创建哈希表 Hashtable to store cached parametersprivate static Hashtable parmCache = Hashtable.Synchronized(new Hashtable());...//缓存数据string cacheKey = "xxxx"SqlParameter[] commandParameters= xxx;parmCache[cacheKey] = commandParameters;...//获取数据string cacheKey = " 阅读全文
posted @ 2011-08-28 11:09 gsk99 阅读(3978) 评论(0) 推荐(1)