Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping Data Update Conflicts
Message
From
14/06/2008 12:31:35
 
 
To
10/06/2008 17:54:43
Jarid Griesel
The Innovix Technology Group (Pty) Ltd
Johannesburg, South Africa
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01322948
Message ID:
01324130
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform