当前位置:编程学习 > C#/ASP.NET >>

数据缓存 Cache DataTable

    protected DataTable dtJob = new DataTable();
    protected DataTable dtLicenseShow = new DataTable();
    protected DataTable dtProductionMiles = new DataTable();
    protected DataTable dtRetailer = new DataTable();
    protected DataTable dtStamper = new DataTable();
    protected DataTable dtVesselInfo = new DataTable();
    protected DataTable dtSourcingLicense = new DataTable();
    protected DataTable dtLotCode = new DataTable();


当页面有很多DataTable 怎么去使用Cache 能一次性去判断吗?
因页面数据量太大使用了Cache 。

高手们指教一二啊。。



Cache  DataTable --------------------编程问答-------------------- --------------------编程问答-------------------- 高手们都看一下啊。??????? --------------------编程问答-------------------- --------------------编程问答-------------------- 你想干什么?搞那么复杂。 --------------------编程问答--------------------
引用 4 楼 falconfei 的回复:
你想干什么?搞那么复杂。


上面每个DataTable 都是一张表,就是想找简单的方法呀..
--------------------编程问答-------------------- 你想判断什么? --------------------编程问答-------------------- 用DataSet,把整个DataSet放到cache中
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,