Category - MVC
Results 6 - 10 of 732
29 Jun 2021 29 Jun 2021 0 Comments  766 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (import) Excel file in ASP.Net Core MVC.

The uploaded Excel file data will be read using OLEDB library and the read data will be inserted into SQL Server database using SqlBulkCopy class in ASP.Net Core MVC.
29 Jun 2021 29 Jun 2021 0 Comments  708 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  609 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.
15 Jun 2021 15 Jun 2021 0 Comments  993 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement multiple Selection DropDownList using jQuery Select2 plugin in ASP.Net Core MVC.

The multiple Selection DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core MVC.
15 Jun 2021 15 Jun 2021 0 Comments  1097 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Searchable DropDownList in ASP.Net Core MVC.

The Searchable DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core MVC.
Results 6 - 10 of 732