Thanks Gregory,
I don't wont non stop "ask" database I wont connect to db only if table is
changed.
Pawel
That's kind of a problem Pawel, because if you close your connection to the DB
you can't communicate with it. Doing what you want to do isn't easy, since MS
SQL Server won't tell you anything unless you ask it.
If you're using a DataSet, won't you be able to do a HasChanges against the
DataSet to check for changes?
Are you wanting the user to be able to see changes to the table that they have
made? If so, do you want them to be able to see changes other users made also?
If you want the user to see changes other users made to the table, you will have
to query the table periodically to get the changes other users have made.
That's the only way to get that info about other user changes.
I suppose you could do a turn around select every time your user inserts,
deletes or updates something, but that wouldn't tell other users that a change
had been made.
Otis Mukinfus
http://www.otismukinfus.com