Re: When DatSet reload?
From: Cor Ligthert (notfirstname_at_planet.nl)
Date: 06/30/04
- Next message: Cor Ligthert: "Re: Webservice Connection String"
- Previous message: Miha Markic [MVP C#]: "Re: When DatSet reload?"
- In reply to: Laszlo: "When DatSet reload?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 30 Jun 2004 12:16:26 +0200
Hi Laszlo,
The dataset it disconnected, it can on a pda as well.
When you do an update of the dataset you can catch the errors which will be
probably mostly concurrency errors (because another user has done something
with the data), and after that with a fill refill your dataset again.
You have yourself to correct the concurrency errors wherefore are events and
methods, however you have to choose yourself the method you want to use.
(Force the update, reload the dataset for the user with the new
information and let him do his work, ask the user etc etc it can be on much
different situations and therefore much different methods ).
That is one of the the reasons why it is clever to keep your dataset as
small as possible for the situation.
I hope this helps?
Cor
>
> I have my data in a DataSet class. But the data could changed on the SQL
> Server from an other user. How can I know, that the data is changed?
>
> It will be very usefull, if I could define a trigger on the SQL Server,
and
> that could send me an event to my program, and the I can refill the
DataSet.
> But this function isn't supported, or is?
>
> Who can I get this functionality ?
>
> Laszlo
>
>
- Next message: Cor Ligthert: "Re: Webservice Connection String"
- Previous message: Miha Markic [MVP C#]: "Re: When DatSet reload?"
- In reply to: Laszlo: "When DatSet reload?"
- Messages sorted by: [ date ] [ thread ]