Category - VB.Net
Results 1 - 5 of 118
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.
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.
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.
Here Mudassar Ahmed Khan has explained with an example, how to build a simple Windows Service that runs periodically at regular intervals and as well as once a day at specific (certain) time of day using C# and VB.Net in Visual Studio 2013, 2015 and 2017 versions.

The Windows service will support two modes.
1. Interval mode: where Windows Service execute a task at regular intervals after some delay.
2. Daily mode: where the Windows Service will execute a task at specific (certain) time of day.
Here Mudassar Ahmed Khan has explained with an example, how to convert HttpPostedFile class object to Base64 string using C# and VB.Net.

The HttpPostedFile class object holds the File data for the ASP.Net FileUpload control.

In order to convert HttpPostedFile class object to Base64 string, first the HttpPostedFile class object is converted to Byte Array using the ReadBytes method of the BinaryReader class is used.

Then the Byte Array is converted to Base64 string using the ToBase64String method.
Results 1 - 5 of 118