Category - MVC
Results 16 - 20 of 688
19 Feb 2021 19 Feb 2021 0 Comments  1559 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList using SelectListItem in ASP.Net MVC Razor.

The records from the database will be populated into a Generic List collection of SelectListItem class objects and then will be saved into a ViewBag object.

Inside the View, the ViewBag object will be passed to the Html.DropDownList Helper function for populating the DropDownList in ASP.Net MVC Razor.
19 Feb 2021 19 Feb 2021 0 Comments  1093 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) SelectListItem to DropDownList in ASP.Net MVC Razor.

The SelectListItem collection is used to pass (send) data from Database to DropDownList in ASP.Net MVC Razor.
19 Feb 2021 19 Feb 2021 0 Comments  1321 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert DropDownList selected value in SQL Server Database in ASP.Net Core MVC.

The selected value of the DropDownList will be inserted into SQL Server Database using Entity Framework in ASP.Net Core MVC.
19 Feb 2021 19 Feb 2021 0 Comments  1139 Views
ASP.Net  jQuery  MVC  Form  FormData  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit Form using jQuery in ASP.Net Core MVC.

This article will explain how to create Form Fields and then submit data from View to Controller using Form Collection and jQuery AJAX in ASP.Net Core MVC
11 Feb 2021 11 Feb 2021 0 Comments  1160 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use Response.Write in ASP.Net Core MVC.

Response.Write function is not available in ASP.Net Core and hence this article will illustrate how to do similar functionality in ASP.Net Core MVC.
Results 16 - 20 of 688