PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Handling data update errors with multiple tables

Reply

Handling data update errors with multiple tables

 
Thread Tools Rate Thread
Old 27-04-2008, 10:39 PM   #1
John
Guest
 
Posts: n/a
Default Handling data update errors with multiple tables


Hi

Its easy to trap errors such as concurrency error when a single table is
involved with code similar to this;

Try
Me.MytblAdpater.Update(DS.Mytbl)

Catch dbcx As Data.DBConcurrencyException

HandleConcurrencyException(dbcx.Row)
End Try

How does one handle concurrency exception with an AdpaterManager where
multiple tables are involved in statement like;

Me.TblAdapterManager.UpdateAll(DS)

In particular how does one know which table or tables and row/rows are in
error?

Thanks

Regards


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off