![]() Get Application Startup and Executable Path in VB.NET.Start and Close a Windows Application in VB.NET.Add Datetime picker in datagrid view using VB.NET.Use Window form Button and Label control in VB.NET.Working with TabControl Control in VB.NET. ![]() Calculate Number Of Days Between Two Dates in VB.NET.Track the Computer Name and IP Address in VB.NET.Event Handling on Click Event in VB.NET.Future Application Through Event Handler in VB.NET.Create a Printing Job in Windows Application using VB.NET.The key method of the ErrorProvider component is the SetError method, which specifies the error message string and where the error icon should appear. When the DataSource property is set, the ErrorProvider component can display error messages for a dataset. The Icon property can be set to a custom error icon instead of the default. When the component is added in the designer, the ContainerControl property is set to the containing form if you add the control in code, you must set it yourself. The ContainerControl property must be set to the appropriate container (usually the Windows Form) in order for the ErrorProvider component to display an error icon on the form. The ErrorProvider component's key properties are DataSource, ContainerControl, and Icon. The ErrorProvider component displays an error icon ( ) next to the relevant control, such as a text box when the user positions the mouse pointer over the error icon, a ToolTip appears, showing the error message string. An error provider is a better alternative than displaying an error message in a message box, because once a message box is dismissed, the error message is no longer visible. It is typically used in conjunction with validating user input on a form, or displaying errors within a dataset. The Windows Forms ErrorProvider component is used to validate user input on a form or control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |