Category - ADO.Net
Results 1 - 5 of 71
07 Apr 2021 07 Apr 2021 0 Comments  435 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckBoxes (CheckBoxList) in ASP.Net Core Razor Pages.

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

The CheckBoxes are grouped by specifying common name for all CheckBoxes, this helps fetching their values as a collection in the Request header.
31 Mar 2021 31 Mar 2021 0 Comments  503 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) multiple CheckBox values from View to Controller in ASP.Net Core MVC.

The CheckBoxes will be populated from SQL Server database and when the Form is submitted, the values of all the CheckBoxes (Checked and Unchecked) will be sent to the Controller in ASP.Net Core MVC.
30 Mar 2021 30 Mar 2021 0 Comments  472 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) RadioButton value from View to Controller in ASP.Net Core MVC.

The RadioButtons will be populated from SQL Server database and when the Form is submitted, the value of the selected (checked) RadioButton will be sent to the Controller in ASP.Net Core MVC.
14 Mar 2021 14 Mar 2021 0 Comments  1182 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind CheckBox (multiple CheckBoxes) using Model in ASP.Net Core MVC.

The generic list collection of Model class will be populated from Database inside Controller and then it will be used to populate the list of multiple CheckBoxes inside View in ASP.Net Core MVC.
14 Mar 2021 14 Mar 2021 0 Comments  707 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind CheckBox (multiple CheckBoxes) using Model in ASP.Net MVC Razor.

The Database data will be populated in generic list collection of Model class and then the Model will be sent to the View where it will be bound to the CheckBox in ASP.Net MVC Razor.
Results 1 - 5 of 71