Category - DataTable
Results 1 - 20 of 93
14 Jun 2022 14 Jun 2022 0 Comments  623 Views
Here Mudassar Khan has explained with an example, how to convert LINQ query result to DataTable using C# and VB.Net.
29 Jun 2021 29 Jun 2021 0 Comments  11505 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataSet or DataTable to Excel file in ASP.Net Core MVC.

The data from the database is fetched using ADO.Net into a DataTable.

Then the DataTable is exported and downloaded as Microsoft Excel file using ClosedXML Excel Library which is a wrapper for OpenXml Excel library.
28 Jun 2021 28 Jun 2021 0 Comments  8451 Views
Here Mudassar Ahmed Khan has explained with an example, how to use a DataSet or DataTable as Model in View in ASP.Net Core MVC.

Though it is not a good practice to use to use DataSet or DataTable as Model in View in MVC Core architecture, thus user’s please make a note that this is just an informative article and does not recommend to use DataSet or DataTable as Model in View in ASP.Net Core MVC.
18 Apr 2020 18 Apr 2020 0 Comments  10820 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate jQuery DataTable using Entity Framework using C# in ASP.Net MVC Razor.

The data from the SQL Server Database will be populated using Entity Framework in C#.

An HTML Table will be applied the jQuery DataTables plugin and then using a jQuery AJAX call the data will be fetched from the Controller and will be assigned to the jQuery DataTables plugin in ASP.Net MVC Razor.
17 Apr 2020 17 Apr 2020 1 Comments  24798 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery DataTables plugin in ASP.Net Core MVC.

The data from the SQL Server Database will be populated using Entity Framework.

An HTML Table will be applied the jQuery DataTables plugin and then using a jQuery AJAX call the data will be fetched from the Controller and will be assigned to the jQuery DataTables plugin in ASP.Net Core MVC.
16 Apr 2020 16 Apr 2020 0 Comments  40251 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery DataTables plugin in ASP.Net MVC Razor.

The data from the SQL Server Database will be populated using Entity Framework.

An HTML Table will be applied the jQuery DataTables plugin and then using a jQuery AJAX call the data will be fetched from the Controller and will be assigned to the jQuery DataTables plugin in ASP.Net MVC Razor.
15 Apr 2020 15 Apr 2020 2 Comments  28331 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use jQuery DataTable for displaying data from Database in ASP.Net with C# and VB.Net.

The jQuery DataTable will display data from SQL Server Database using jQuery AJAX and WebMethod in ASP.Net with C# and VB.Net.
15 Apr 2020 15 Apr 2020 1 Comments  11770 Views
Here Mudassar Ahmed Khan has explained with an example, how to load jQuery DataTable from JSON in ASP.Net with C# and VB.Net.

The jQuery DataTable will be loaded with JSON data using jQuery AJAX and WebMethod in ASP.Net with C# and VB.Net.
15 Apr 2020 15 Apr 2020 1 Comments  18388 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery DataTable in ASP.Net Web Forms with C# and VB.Net.

The jQuery DataTable will be populated using jQuery AJAX and WebMethod in ASP.Net Web Forms with C# and VB.Net.
15 Apr 2020 15 Apr 2020 0 Comments  14080 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind data in jQuery DataTable in ASP.Net with C# and VB.Net.

The jQuery DataTable will be populated using jQuery AJAX and WebMethod in ASP.Net with C# and VB.Net.
15 Apr 2020 15 Apr 2020 0 Comments  11836 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate jQuery DataTable using WebMethod (PageMethod) and AJAX in ASP.Net with C# and VB.Net.

First a jQuery AJAX call will be made to a WebMethod (PageMethod) on Server Side and the WebMethod (PageMethod) will return the Data in JSON format.

Finally, the returned JSON data will be used on Client Side to populate the jQuery DataTable in ASP.Net with C# and VB.Net.
14 Apr 2020 14 Apr 2020 1 Comments  28098 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery DataTables with GridView in ASP.Net with C# and VB.Net.

This article will explain how to implement Paging, Sorting, Filtering and Searching in GridView on Client Side using jQuery DataTables in ASP.Net with C# and VB.Net.
19 Mar 2020 19 Mar 2020 0 Comments  21185 Views
Here Mudassar Ahmed Khan has explained with an example, how to add new Row to existing DataTable using C# and VB.Net.
19 Dec 2019 19 Dec 2019 0 Comments  11332 Views
Here Mudassar Ahmed Khan has explained with an example, how to store (save) Temporary data in GridView in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the data from the TextBoxes will be inserted into a DataTable which will be stored (saved) in ViewState and later used to populate the GridView in ASP.Net using C# and VB.Net.
19 Jun 2019 19 Jun 2019 0 Comments  13083 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 1 Comments  11192 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  6199 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  17084 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 1 Comments  25961 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.
17 Apr 2019 17 Apr 2019 1 Comments  21874 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Table values in Code Behind in ASP.Net using C# and VB.Net.

HTML Table cannot be directly accessed in the ASP.Net Code Behind (Server Side) and hence the values of HTML Table will be sent in JSON format to ASP.Net Code Behind (Server Side) using C# and VB.Net.
Results 1 - 20 of 93