Results 11 - 15 of 138
28 Aug 2018 28 Aug 2018 0 Comments  2324 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (parse) JSON string returned from Web API using C#.

The WebClient class will be used to call the Web API 2 Controller method which will fetch records from database using Entity Framework and return the records in JSON format.

The JSON string will be read, parsed and de-serialized into a Generic List collection of Class objects.
18 Jul 2018 18 Jul 2018 0 Comments  1870 Views
Here Mudassar Ahmed Khan has explained with an example, how to search (filter) DataGridView as you type in Windows Forms (WinForms) Application using C# and VB.Net.

By default, the DataGridView will show all records. As soon as user starts to type in the TextBox, the records will be searched in Database and the DataGridView rows will be filtered in Windows Forms (WinForms) Application using C# and VB.Net.
12 Jun 2018 12 Jun 2018 0 Comments  6249 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  4733 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  7661 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.
Results 11 - 15 of 138