error when committing the row to the original data store

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Back
Top