PC Review


Reply
Thread Tools Rate Thread

Dataset - client or server memory?

 
 
timmso
Guest
Posts: n/a
 
      28th Nov 2003
One of my books says a DataSet is holds data in memory on the client.
Another book says it holds data in the server's memory.

Are both of these correct statements?


 
Reply With Quote
 
 
 
 
Harsh Thakur
Guest
Posts: n/a
 
      28th Nov 2003
Hi timmso,

In a way yes. When you populate a DataSet from some
databsae, ADO.NET fetches the data and stores it in the
DataSet. The DataSet is stored in the Web Server's memory.
So, if the Web Server is different from the database
server, then the web server is a client for the database
server and if this is what your book meant, then it is
correct.
But the DataSet is never stored on the m/c which is
accessing the web app.

If m/c A is the client browser, m/c B the web server, and
m/c C the database server; then the DataSet will only be
stored on m/c B, never on A or C, unless they happen to be
the same m/cs.

A will only hold the data which is displayed on the page.
That too, not as a DataSet, but as HTML.

HTH
Regards
Harsh Thakur
>-----Original Message-----
>One of my books says a DataSet is holds data in memory on

the client.
>Another book says it holds data in the server's memory.
>
>Are both of these correct statements?

 
Reply With Quote
 
timmso
Guest
Posts: n/a
 
      28th Nov 2003
Great. thanks for the explanation.

"Harsh Thakur" <(E-Mail Removed)> wrote in message
news:010f01c3b576$d4399de0$(E-Mail Removed)...
> Hi timmso,
>
> In a way yes. When you populate a DataSet from some
> databsae, ADO.NET fetches the data and stores it in the
> DataSet. The DataSet is stored in the Web Server's memory.
> So, if the Web Server is different from the database
> server, then the web server is a client for the database
> server and if this is what your book meant, then it is
> correct.
> But the DataSet is never stored on the m/c which is
> accessing the web app.
>
> If m/c A is the client browser, m/c B the web server, and
> m/c C the database server; then the DataSet will only be
> stored on m/c B, never on A or C, unless they happen to be
> the same m/cs.
>
> A will only hold the data which is displayed on the page.
> That too, not as a DataSet, but as HTML.
>
> HTH
> Regards
> Harsh Thakur
> >-----Original Message-----
> >One of my books says a DataSet is holds data in memory on

> the client.
> >Another book says it holds data in the server's memory.
> >
> >Are both of these correct statements?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Security 1 30th Aug 2007 07:38 AM
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Networking 0 28th Aug 2007 12:38 AM
My available memory is down to very little, yet my PF Usage is 8 gigabytes (about how much memory is on the box), sql server keeps having memory issues yet the sqlservr.exe is using hardly any memory.. how to fix this? is there some way to limit how Daniel Microsoft Windows 2000 Advanced Server 0 28th Aug 2007 12:38 AM
client/ server - knowing when to renew dataset =?Utf-8?B?TGFycw==?= Microsoft Dot NET Framework 1 3rd Apr 2004 04:01 PM
webservice class inherite DataSet and client generate the force dataset issues miller chen Microsoft C# .NET 0 18th Jul 2003 09:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:56 AM.