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

Re: adapter manager error handling by Cor

Cor
Mon May 05 00:24:20 CDT 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/library/system.data.datarow.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/library/system.data.dataset.haserrors.aspx

Cor





"John" <info@nospam.infovis.co.uk> schreef in bericht
news:%23%234Us9grIHA.4884@TK2MSFTNGP06.phx.gbl...
> 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
>