Category - DataGridView
Results 1 - 5 of 52
13 Aug 2018 13 Aug 2018 0 Comments  2818 Views
Here Mudassar Ahmed Khan has explained with an example, how to save Image in Folder (Directory) and Path in Database in Windows Forms Application using C# and VB.Net.

The Images saved in Folder (Directory) will be displayed using DataGridView control in Windows Forms Application using C# and VB.Net.
18 Jul 2018 18 Jul 2018 0 Comments  1394 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.
04 Jun 2018 04 Jun 2018 0 Comments  1590 Views
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and import XML file in Windows Forms DataGridView using C# and VB.Net.

The XML file will be read and parsed using a DataSet and all the records from the XML file will be imported into a DataTable within the DataSet.

Finally the DataSet will be used to populate and display the data from XML file in Windows Forms DataGridView.
01 Jun 2018 01 Jun 2018 0 Comments  2943 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (import) Excel file without using OLEDB or installing Microsoft Office Excel or Interop Library in C# and VB.Net.

The Excel file will be read using ClosedXml and OpenXml DLLs which does not require OLEDB and does not require Microsoft Office Excel or Interop Library software to be installed.
01 Jun 2018 01 Jun 2018 0 Comments  4289 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView data to Excel file with formatting i.e. Colors and Styles in Windows Forms (WinForms) Applications using C# and VB.Net.

DataGridView cannot be exported directly to Excel file and hence need to generate a DataTable and export the DataTable to Excel file.

The DataTable will be exported to a formatted Excel file using ClosedXml library which is a wrapper of OpenXml.
Results 1 - 5 of 52