ASPSnippets.com
Category - Windows Forms
Results 1 - 5 of 110
12 Jun 2018 12 Jun 2018 0 Comments  343 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Date format validation (dd/MM/yyyy) using Regular Expression in C# and VB.Net.

The User will enter Date in TextBox and when the Button is clicked, the Date will be tested against the Regular Expression for dd/MM/yyyy format and if invalid, a Message Box will be displayed.
12 Jun 2018 12 Jun 2018 0 Comments  251 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Validation using Regular Expression in C# and VB.Net.

The User will enter Email Address in TextBox and when the Button is clicked, the Email Address will be tested against the Regular Expression and if invalid, a Message Box will be displayed.
05 Jun 2018 05 Jun 2018 0 Comments  382 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) Bind (Populate) AutoComplete ComboBox from Database in Windows Forms application using C# and VB.Net.

The population of an AutoComplete ComboBox is done in same way as the normal ComboBox, just the AutoCompleteMode needs to be enabled.
05 Jun 2018 05 Jun 2018 0 Comments  353 Views
Here Mudassar Ahmed Khan has explained with an example, how to fill the ComboBox from Database in Windows Forms using C# and VB.Net.
04 Jun 2018 04 Jun 2018 0 Comments  353 Views
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and import XML file in Windows Forms DataGridView using C# and VB.Net.

The XML file will be read and parsed using a DataSet and all the records from the XML file will be imported into a DataTable within the DataSet.

Finally the DataSet will be used to populate and display the data from XML file in Windows Forms DataGridView.
Results 1 - 5 of 110