Category - DataGridView
Results 1 - 5 of 36
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) MVC Web API in Windows Forms (WinForms) Application using C#.

The Web API 2 Controller method will fetch records from database using Entity Framework in ASP.Net MVC.

The Web API 2 Controller method will be called using WebClient class in Windows Forms Application to populate DataGridView control.
Here Mudassar Ahmed Khan has explained with an example, how to add (show) Serial Number (Row Number) in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

The Serial Number (Row Number) will be shown in DataGridView with the help of DataTable in Windows Forms (WinForms) Application using C# and VB.Net.
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.
Results 1 - 5 of 36