error when committing the row to the original data store

G

Guest

How can I trap the "error when committing the row to the original data store"
message in order to replace it with my own one?
The error occurs when a user enters a zero length string in a datagrid cell
bound to a stronly typed dataset (the underlying data store is a sql server
2000 table). The fact the error is trapped by the system is fine: a zero
length value is indeed not allowed in the sql column in question.
The only purpose of this question is to find out how I can trap the error
myself and control programmatically what happens next.
Thanks in advance.

Leo Leys
 

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

Top