Results 1 - 5 of 75
19 Jun 2019 19 Jun 2019 0 Comments  1989 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ASP.Net CheckBoxList using DataTable (DataSet) in C# and VB.Net.

The data from the SQL Server Database Table will be fetched into a DataSet and then the DataTable of the DataSet will be used to bind (populate) ASP.Net CheckBoxList using C# and VB.Net.

This article will also illustrate how to fetch the selected values of ASP.Net CheckBoxList on Button Click using C# and VB.Net.
10 May 2019 10 May 2019 0 Comments  1409 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to Word Document in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data using DataTable and then an HTML Table will be generated using the values from the DataGridView and will be saved to a Folder (Directory).

Finally, the HTML File will be converted into a Word Document using Microsoft Office Interop Library and saved to a Folder (Directory) in Windows Forms (WinForms) Application using C# and VB.Net.
26 Apr 2019 26 Apr 2019 0 Comments  1158 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataTable to HTML Table in Windows Application using C# and VB.Net.

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

Finally, the HTML Table string generated from DataTable will be saved to a Folder (Directory) as HTML File in Windows Forms (WinForms) Application using C# and VB.Net.
18 Apr 2019 19 Apr 2019 0 Comments  3590 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataTable from Controller to View in ASP.Net MVC Razor.

The DataTable will be populated from Database using ADO.Net inside the Controller and it will be passed to the View as Model.

Later in View, the DataTable will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
17 Apr 2019 17 Apr 2019 0 Comments  6979 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to DataTable in ASP.Net using C# and VB.Net.

HTML Table cannot be directly converted to DataTable and hence the values of HTML Table will be converted to JSON format and then using JSON.Net library, the JSON string will be converted to DataTable in ASP.Net using C# and VB.Net.
Results 1 - 5 of 75