G
Guest
Hello,
I have a (typed) dataset for some tables in a sql-server express.
Well, loading the datas with Fill and sending changes to the sql server with
Update works fine.
What I like to do is, sending the changes in the sql server (done by an
other instance of my application on a different pc) back into the dataset
WITHOUT having to fill the whole dataset again with the Fill-command.
My sollution at the time is, that every row has a timestamp value and I ceep
track of the highest timestamp value of any table. So I can fill with "WHERE
timestamp > oldtimestamp".
That works good, but what about deleted rows?
Saving them in a own table (cause my own application delets them, I can do
this), read that table and remove the deleted rows from dataset...
Well, since I'm shure, I'm not the only one wanting to do this, I hope,
there is a better, easier, elegant way doing this??
Hoping for help and new ideas,
Robert Witter
I have a (typed) dataset for some tables in a sql-server express.
Well, loading the datas with Fill and sending changes to the sql server with
Update works fine.
What I like to do is, sending the changes in the sql server (done by an
other instance of my application on a different pc) back into the dataset
WITHOUT having to fill the whole dataset again with the Fill-command.
My sollution at the time is, that every row has a timestamp value and I ceep
track of the highest timestamp value of any table. So I can fill with "WHERE
timestamp > oldtimestamp".
That works good, but what about deleted rows?
Saving them in a own table (cause my own application delets them, I can do
this), read that table and remove the deleted rows from dataset...
Well, since I'm shure, I'm not the only one wanting to do this, I hope,
there is a better, easier, elegant way doing this??
Hoping for help and new ideas,
Robert Witter