By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,163 Members | 1,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,163 IT Pros & Developers. It's quick & easy.

ErrorProvider and Grids

P: n/a
Is it possible to make use of the ErrorProvider logic in a grid?
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Woody,
The System.Windows.Forms.DataGrid automatically (internally) uses an
ErrorProvider, when bound to a DataTable.

You can set DataRow.RowError to have an error icon on the current row in the
grid, you can use DataRow.SetColumnError on individual fields within a row.

You can have your own classes provide the same information for the grid by
implementing the System.CompontModel.IDataErrorInfo interface.

Hope this helps
Jay

"Woody Splawn" <No**********@jts.bz> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Is it possible to make use of the ErrorProvider logic in a grid?

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.