Category - DataTable
Results 1 - 5 of 29
Here Mudassar Ahmed Khan has explained with an example, how to export DataTable (DataSet) to Excel file in ASP.Net MVC Razor.

The data from the database is fetched using Entity Framework and then it is used to populate 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.
Here Mudassar Ahmed Khan has explained with an example, how to bind DataTable to View in ASP.Net MVC Razor.

Though it is not a good practice to use DataSets and DataTables as Model in MVC architecture, hence user’s please make a note that this is just an informative article and does not recommend to use DataSets and DataTables in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to use the DataTable.DefaultView.RowFilter property in C# and VB.Net.

The DataTable.DefaultView.RowFilter property can be used to programmatically filter the data present in DataTable.
Here Mudassar Ahmed Khan has explained with an example, how to filter DataTable and bind to GridView in ASP.Net using C# and VB.Net.
The DataTable will be filtered programmatically using DataView RowFilter property.
Here Mudassar Ahmed Khan has explained with an example, how to display (show) DataSets and DataTables in Grid format in View in ASP.Net MVC Razor.

Though it is not a good practice to use DataSets and DataTables as Model in MVC architecture, hence user’s please make a note that this is just an informative article and does not recommend to use DataSets and DataTables in ASP.Net MVC Razor.
Results 1 - 5 of 29