DataSet存储在哪里?客户端或服务器端。 [英] Where DataSet is Stored?client side Or server Side.

查看:171
本文介绍了DataSet存储在哪里?客户端或服务器端。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从数据库中获取数据后。数据存储在客户端或服务器端的数据集?缓存中。

After fetching the data from database. where the data is store in dataset?cache memory of client side or server side.

推荐答案

原样,它存储在任何地方。 Web应用程序默认为无状态。因此,当您的页面 - 在服务器端 - 完成它的生命周期时,所有连接的数据都将消失。如果你想在请求之间使用加载的数据,你必须启动某种缓存...

在这里阅读 - http://msdn.microsoft.com/en-us/library/system.web.httpcontext.cache(v=vs.110 ).aspx [ ^ ]
As is, it stored nowhere. Web applications are stateless by default. So when your page - in the server side - finishing it's life cycle, all connected data is gone. If you want to use the loaded data between request you have to initiate some kind o caching...
Read here - http://msdn.microsoft.com/en-us/library/system.web.httpcontext.cache(v=vs.110).aspx[^]


实际上数据集存储无处可寻。但在页面生命周期中,它存储在服务器端。客户端仅保存可在回发到服务器时使用的html数据。您可以将数据集或任何内容保留在会话中。只有会话(所有用户保存数据的静态变量)才能保存数据。
Actually dataset store nowhere. But during the page life cycle it is stored in server side. Client side holds only html data that can be used when it is postback to server. You can keep dataset or anything in session. Only session (static variable for all user to keep data) can holds data.


来自数据库的所有东西都持有一段时间像Session,Datatable,ViewState,Dataset







所有都存储在服务器端
Everything Which Comes From Your Database Hand Holding For Some Time Like Session ,Datatable ,ViewState ,Dataset



All are At Stored At Server Side


这篇关于DataSet存储在哪里?客户端或服务器端。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆