capturing sql errors with a grid/details view

K

Kat

How do I capture sql errors, such as a unique key violation, when updating
or inserting from a grid? I've tried every event for the gridview and the
datasource and I can't seem to capture the error anywhere. Thanks for your
help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top