This should be a try/catch block.
When you catch the exception, you can also "catch" specific errors. So
instead of:
catch (Exception e)
You could catch a more specific error from SQLOLEDB, something like this:
catch (OleDbException e)
and that will have much more specific error information than the generic
Exception..
"John Smith" <Jo********@ampam.com> wrote in message
news:01****************************@phx.gbl...
Hello all:
I am trying to insert a new row into a database after
populating all of its fields w/data and then adding the row
to my dataset's row collection. But when I call the
adapter's update method on the dataset I get an unhandled
exception error w/o a description. Any help is appreciated.
Thanks,
John