摘要:
以下是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)

浙公网安备 33010602011771号