PC Review


Reply
Thread Tools Rate Thread

Dataset refresh single column

 
 
Arapi
Guest
Posts: n/a
 
      5th Jul 2005
Hi,

I am upgrading a vb6 app to .net. My app works this way: on the form_load
event I populate a dataset with all existing products (over 25,000) and
their quantities on the database. Having in mind that many people (many
computers) are placing orders at the same time, there is a great possibility
that real quantity of the product might not be the same as when the dataset
was loaded. Does any one have any idea on how can I make sure that the
quantity column on my dataset is always up to date without having to reload
the whole table (i am expecting the number of products to grow well beyond
35,000 which I believe will have a negative effect on the performance if
dataset is loaded on every entry). With other words, is there any way just
to reload the quantity column without reloading the whole table (maybe this
way the process would work faster)?



Thanks



 
Reply With Quote
 
 
 
 
Mark Rendle
Guest
Posts: n/a
 
      5th Jul 2005
If your data is that dynamic, is it really ideal to be loading it all into a
DataSet at the application start up?


 
Reply With Quote
 
Arapi
Guest
Posts: n/a
 
      5th Jul 2005
Well yes, only the quantity column is a bit more dynamic. This is a POS
environment (with around 1000 invoices/day) and, in my opinion, it is a
better idea to load everything at startup (once a day) so that there are as
few active connections to the database as possible. Btw, isn't this what the
ado.net is all about? The disconnected state. Anyhow thanks for your
reply.




"Mark Rendle" <markdotrendleatcomputersoftwaredotcom> wrote in message
news:%(E-Mail Removed)...
> If your data is that dynamic, is it really ideal to be loading it all into
> a DataSet at the application start up?
>



 
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
From single cell variables to a single column serie =?Utf-8?B?bm95YXU=?= Microsoft Excel New Users 1 22nd Dec 2006 06:43 AM
Return Single Row of Numeric Data to Single Column Sam via OfficeKB.com Microsoft Excel Worksheet Functions 4 17th Dec 2005 12:31 AM
best way to refresh a dataset. jaYPee Microsoft ADO .NET 10 23rd Nov 2004 07:39 PM
dataset refresh Mike P Microsoft C# .NET 2 30th Mar 2004 02:57 PM
Re: Moving several columns from a single row into a single column Heffex Microsoft Access 0 19th Feb 2004 06:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.