Category - DataGridView
Results 21 - 25 of 84
28 Mar 2019 28 Mar 2019 0 Comments  7475 Views
Here Mudassar Ahmed Khan has explained with an example, how to send DataGridView to Email in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table string will be used to send the DataGridView’s data to Email in Windows Forms (WinForms) Application using C# and VB.Net.
27 Mar 2019 27 Mar 2019 0 Comments  7982 Views
Here Mudassar Ahmed Khan has explained with an example, how to change DataGridView Cell Color based on condition in Windows (WinForms) Application using C# and VB.Net.

Inside the CellFormatting event handler of the DataGridView, various conditions are used to compare the Cell value of the DataGridView Row and the Cell color of the DataGridView is changed based on the conditions holding true.
27 Mar 2019 27 Mar 2019 0 Comments  4333 Views
Here Mudassar Ahmed Khan has explained with an example, how to change DataGridView Row Color based on condition in Windows (WinForms) Application using C# and VB.Net.

Inside the CellFormatting event handler of the DataGridView, various conditions are used to compare the Cell value of the DataGridView Row and the Row color of the DataGridView is changed based on the conditions holding true.
25 Mar 2019 25 Mar 2019 0 Comments  6939 Views
Here Mudassar Ahmed Khan has explained with an example, how to merge multiple Header Columns (Cells) in DataGridView in Windows Forms (WinForms) application using C# and VB.Net.

There is no direct way to merge multiple Header Columns (Cells) in DataGridView and hence this article will illustrate how to achieve the same by drawing a Rectangle over the existing Header Columns (Cells) in DataGridView using C# and VB.Net.
13 Feb 2019 14 Feb 2019 0 Comments  4636 Views
Here Mudassar Ahmed Khan has explained with an example, how to export HTML to PDF in Windows Forms Application using iTextSharp, C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table will be exported and saved as PDF file using iTextSharp and XMLWorkerHelper class in Windows Forms Application with C# and VB.Net.
Results 21 - 25 of 84