PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Re: Catching ALL typed dataset exceptions
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Re: Catching ALL typed dataset exceptions
![]() |
Re: Catching ALL typed dataset exceptions |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

