Category - ASP.Net
Results 1 - 5 of 2394
08 Mar 2021 08 Mar 2021 0 Comments  65 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButtons (RadioButtonList) in ASP.Net Core MVC.

The records from the Database will be fetched from Database Table using ADO.Net into SelectListItem class as Model and a Custom RadioButtonList has been populated in ASP.Net Core MVC.

The RadioButtons are grouped by specifying common name for all RadioButtons in ASP.Net Core MVC.
05 Mar 2021 05 Mar 2021 0 Comments  219 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButtons (RadioButtonList) in ASP.Net Core Razor Pages.

Group of multiple RadioButtons (RqadioButtonList) will be populated from SQL Server Database by looping through the Model.

The RadioButtons are grouped by specifying common name for all RadioButtons in ASP.Net Core Razor Pages.
19 Feb 2021 19 Feb 2021 0 Comments  749 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  465 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  555 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.
Results 1 - 5 of 2394