Interview Questions

What is the use of ErrorProvider Control?

.NET Interview Questions and Answers


(Continued from previous question...)

What is the use of ErrorProvider Control?

The ErrorProvider control is used to indicate invalid data on a data entry form. Using this control, you can attach error messages that display next to the control when the data is invalid, as seen in the following image. A red circle with an exclamation point blinks, and when the user mouses over the icon, the error message is displayed as a tooltip.

(Continued on next question...)

Other Interview Questions