Category - DropDownList
Results 1 - 5 of 134
19 Feb 2021 19 Feb 2021 0 Comments  537 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  296 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  370 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  314 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use AJAX in ASP.Net Core 2.1 Razor Pages.

This article will illustrate how to use jQuery for performing AJAX operations in ASP.Net Core 2.1 Razor Pages.
16 Feb 2021 16 Feb 2021 0 Comments  449 Views
Here Mudassar Ahmed Khan has explained an example, how to use the Select List asp-items Tag Helper in ASP.Net Core Razor Pages.

The the Select List asp-items Tag Helper is used for populating DropDownList in ASP.Net Core Razor Pages.
Results 1 - 5 of 134