Capture PK violation in Details View

  • Thread starter Thread starter randy.buchholz
  • Start date Start date
R

randy.buchholz

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.
 
Back
Top