PC Review


Reply
Thread Tools Rate Thread

adapter manager error handling

 
 
John
Guest
Posts: n/a
 
      4th May 2008
Hi

How can I handle errors in the UpdateAll method for adapter manager
considering that it has multiple tables. Its probably easy by using
try/catch if only one table has errors but what if more than one table have
errors at update?

Thanks

Regards


 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      5th May 2008
John,

Mostly are errors in multiple tables (I assume a dataset) related from each
other, moreover, you have to update them in a special order. Search Google
for this.

http://msdn.microsoft.com/en-us/libr....rowstate.aspx

As you use autoidentefiers which are not Guid, then don't forget to check
the dataset if it hasErrors.

http://msdn.microsoft.com/en-us/libr...haserrors.aspx

Cor





"John" <(E-Mail Removed)> schreef in bericht
news:%23%(E-Mail Removed)...
> Hi
>
> How can I handle errors in the UpdateAll method for adapter manager
> considering that it has multiple tables. Its probably easy by using
> try/catch if only one table has errors but what if more than one table
> have errors at update?
>
> 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling concurrency with table adapter manager John Microsoft ADO .NET 1 16th Nov 2008 03:09 AM
adapter manager error handling John Microsoft ADO .NET 1 5th May 2008 06:24 AM
Error Message in Device Manager RE Microsoft 6To4 Adapter Ed Allen Windows Vista Networking 1 6th Nov 2007 10:57 AM
error handling when updating a datasource via a data adapter =?Utf-8?B?bWF0dGhldyBjLiBoYXJhZA==?= Microsoft ADO .NET 2 8th Sep 2004 05:49 AM
network adapter driver error found in Device Manager Judy Morrison Windows XP Networking 1 24th Sep 2003 02:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:17 PM.