PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Re: Catching ALL typed dataset exceptions

Reply

Re: Catching ALL typed dataset exceptions

 
Thread Tools Rate Thread
Old 29-06-2003, 04:51 AM   #1
Kathleen Dollard
Guest
 
Posts: n/a
Default Re: Catching ALL typed dataset exceptions


Erik,

If an exception is thrown, there aren't any more exceptions. As Rebecca
said, there are DataTable errors, but they won't be thrown as exceptions.
You may need to explain further what you are doing, if Rebecca's answer
didn't get you on track.

Kathleen

"Erik Frey" <eriksjunk@hotmail.com> wrote in message
news:edwBBAEPDHA.1216@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I'm curious if there is a way to catch ALL errors when

editing/updating
> a row in a strongly typed dataset. For example, I can do something like

the
> following
>
> Try
> Me.BindingContext(myDS, "myTable").EndCurrentEdit()
> Catch ex as Exception
> ' report the error
> End Try
>
> But this only gives me the first error. Is there a clever way to
> iterate through all errors the dataset will throw?
>
> Thanks for your time,
>
> Erik
>
>



  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