|
-
Mar 16th, 2011, 01:40 AM
#1
Thread Starter
Addicted Member
connected with a database datagrid
connecting from my previous posting.
http://www.vbforums.com/showthread.php?t=644355
how that data in the DataTable can be updated with current data ?
-
Mar 16th, 2011, 03:20 AM
#2
Re: connected with a database datagrid
If your database has no indication of when data was saved then you have to simply discard everything and get everything again. If your database does record a timestamp when data is saved then you can simply query the database for all records with a timestamp later than the last time you retrieved data. You can populate a new DataTable and then Merge it into the existing DataTable.
-
Mar 16th, 2011, 04:43 AM
#3
Thread Starter
Addicted Member
Re: connected with a database datagrid
if you do not mind, can you give me example code, for my condition ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|