Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Capture PK violation in Details View

0 views
Skip to first unread message

randy.buchholz

unread,
Apr 29, 2008, 2:26:36 PM4/29/08
to
I'm trying to catch a database error (PK Violation) from a "plain vanilla"
DetailsView.

I have tried try/catch in both the Inserting and Inserted events of the
DetailsView and DataSource. Also, tried converting the insert link to a
template field and wrapping the xx.Insert() in a try/catch. Going crazy!
please help.


randy.buchholz

unread,
Apr 29, 2008, 2:58:21 PM4/29/08
to
After hours of screwing with it I figure it out right after I post, of
course :)

"randy.buchholz" <randy.b...@dads.state.tx.us> wrote in message
news:uHO6qaiq...@TK2MSFTNGP03.phx.gbl...

0 new messages