How can I display an error to the user while they're still editing a DataGridView cell?

I suggest you look at IDataErrorInfo interface.

I suggest you look at IDataErrorInfo interface For example see the following post.

Thanks! I'll play around with this today. – Ecyrb Mar 1 '10 at 16:10 I'm not sure this will work for me.

The documentation is worthless. I checked out the post and even the blog that one of its answers linked to, but that didn't help me understand how to get it working properly with my DataGridView. I don't see how I can use this to prevent a user from entering an invalid DateTime (like null or "Blarg").

For normal string columns, it wouldn't validate until after the cell lost focus, which defeats the purpose of my goal. Maybe I just don't know how to use it properly. Any additional examples relating to DataGridView would be most welcome.

– Ecyrb Mar 1 '10 at 18:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions