I'm trying to figure out how to trap the following error and display a more friendly message.
DELETE statement conflicted with TABLE REFERENCE constraint 'FK
I'm using ASP.NET 2.0 Framework - Detailsview control using an ObjectDataSource
I've tried placing it in the following, but no success:
DetailView1 ItemDeleting & ItemDeleted
ObjectDataSource1 Deleting & Deleted
Page Load & Unload