Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
After fetching the data from database. where the data is store in dataset?cache memory of client side or server side.
Posted

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[^]
 
Share this answer
 
Comments
utm 30-Mar-14 14:48pm    
if is it nowhere.. then why dataset called an disconnected architecture. and we are able update the dataset record in ado.net. how?
and there is feature of ado.net to searching ,sorting with help of dataview.
so, if it is store nowhere then how these things are posible?

we use dataadper.fill(dataset).
and we use this dataset according to our requirement.like.. to fill the gridview,repeter etc.
now my question is where the data stored in dataset. in server memory or client machine memory.
Kornfeld Eliyahu Peter 30-Mar-14 14:50pm    
I'm sorry but I do not understand your question - try rephrase it, please...
utm 30-Mar-14 15:07pm    
i rephrase it..if still u not understand my question please reply..
Kornfeld Eliyahu Peter 30-Mar-14 15:16pm    
Are you asking where data goes after you fill a DataSet with da.fill? On the server of course. All your code about ado.net is on the server side. However after you finished all you manipulation (search, sort or whatsoever) and your page reaches the unload state all that data is gone...
utm 30-Mar-14 15:41pm    
Thank You..
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.
 
Share this answer
 
Comments
utm 1-Apr-14 13:51pm    
thanks for reply..
Everything Which Comes From Your Database Hand Holding For Some Time Like Session ,Datatable ,ViewState ,Dataset



All are At Stored At Server Side
 
Share this answer
 
Comments
utm 1-Apr-14 13:51pm    
thanks for reply..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900