DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: .NET Client Data Caching

  1. #1
    Join Date
    Aug 2006
    Posts
    6

    Exclamation .NET Client Data Caching

    Hi All.

    I am developing an application in vb.net. There is one form in my application which loads CustomerId and CustomerName fields from the customer table in my sql server 2000 database. The database is stored on different physical computer located in other area far away from my system and I m connecting to remote system using dial-up connection or might even use vpn connection in future to connect my system with remote system. Now whenever I m opening this form, its taking long time to load the CustomerId and CustomerName list from the remote database and everyday this list goes on increasing coz new customers are added daily.

    What my concern is how to cache this CustomerId and CustomerName data locally on my system so that I dont need to read data every time from remote computer? Also how to check whether the data I m caching on my computer is not changed on the remote computer by someone. I mean how to create this kind of applications for commercial purpose?

    Please help me out.
    Thanks.

  2. #2
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    Well u can make a simple database [or maybe very simple file] that you will store in it your retrived data from the server ... in the other side make a small logger that will log events done from time1 to now .. when you connect u just need to read this log from your last visited time to now see if there is changes : update recorde Or new added clients : get their data only !
    in this point don't forget to flag your last visit time in the log to start from it next time .
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

Similar Threads

  1. ANN: MySQLDirect .NET Data Provider 1.80 has released
    By Core Lab in forum dotnet.announcements
    Replies: 0
    Last Post: 10-01-2003, 11:39 AM
  2. Microsoft's C++ bigotry
    By Phil Weber in forum .NET
    Replies: 632
    Last Post: 10-01-2003, 12:00 AM
  3. Replies: 4
    Last Post: 04-03-2003, 11:54 AM
  4. IBM opens beta program for DB2 .NET Enablement
    By Leon Katsnelson in forum Database
    Replies: 0
    Last Post: 02-28-2003, 08:11 PM
  5. XMl caching data/ Recordet Save
    By A Spencer in forum XML
    Replies: 0
    Last Post: 10-11-2001, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center