ASPSnippets.com
Results 1 - 5 of 126
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.
29 Dec 2017 29 Dec 2017 0 Comments  3671 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to Excel file with Column Headers (Column Names) in C# and VB.Net.

First a DataTable will be generated along with Column Headers (Column Names) and then the DataGridView data will be copied to the DataTable.

Finally the DataTable will be exported to Excel file using the ClosedXml library in C# and VB.Net.
29 Dec 2017 29 Dec 2017 0 Comments  3160 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to Excel file without using Microsoft Office or Interop Library in C# and VB.Net.

This article will illustrate how to make use of the free and open source ClosedXml library which is wrapper of OpenXml library for exporting DataGridView to Excel in C# and VB.Net.
29 Dec 2017 31 May 2018 0 Comments  2719 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Excel file without installing Microsoft Office or Interop Library in C# and VB.Net.
This article will illustrate how to make use of the free and open source ClosedXml library which is wrapper of OpenXml library.
Results 1 - 5 of 126