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 - 29 Apr 2008 19:58 GMT
After hours of screwing with it I figure it out right after I post, of
course :)
> I'm trying to catch a database error (PK Violation) from a "plain vanilla"
> DetailsView.
[quoted text clipped - 3 lines]
> template field and wrapping the xx.Insert() in a try/catch. Going crazy!
> please help.