Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping Data Update Conflicts
Message
De
14/06/2008 12:31:35
 
 
À
10/06/2008 17:54:43
Jarid Griesel
The Innovix Technology Group (Pty) Ltd
Johannesburg, Afrique du Sud
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01322948
Message ID:
01324130
Vues:
18
Just wrap the calls to the Update method inside a try/catch. Will that work for you?

~~Bonnie



>Hi All
>
>I have a standard windows form employing a standard BindingNavigator control that is bound to a standard BindingSource control that is bound to a sqlTableAdapter object inside a sqlDataSet object.
>
>I need to be able to trap sqlException events that occur as a result of Insert / Update conflicts when my data is updated at the SQLServer.
>
>Is it possible to use event handlers to trap sqlException events that occur on data updates, if so what are the Objects and their related Events that I need to handle or must I use a different approach ?
>
>Jarid
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform