471,350 Members | 1,850 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

how to programatically clear the error icon in a datagridview?


When the user loads the data into a DataGridView, some error icons may
be shown to
indicate some errors like when uniqueness is violated. The user can go
ahead modifying
the data rows. Once the violation is fixed, I like to clear the error
icons, but
I could not do so.

Any tips? Thanks a lot!

Henry J.

Dec 4 '05 #1
2 6464
try DataRow.ClearErrors

Henry J. wrote:
When the user loads the data into a DataGridView, some error icons may
be shown to
indicate some errors like when uniqueness is violated. The user can go
ahead modifying
the data rows. Once the violation is fixed, I like to clear the error
icons, but
I could not do so.

Any tips? Thanks a lot!

Henry J.

Dec 4 '05 #2
Thanks! That's it.

Dec 5 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Huy Nguyen | last post: by
4 posts views Thread by Ravi, Dallas, Texas | last post: by
2 posts views Thread by Huy Nguyen | last post: by
1 post views Thread by samadams_2006 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.