jeudi 18 avril 2019

Send data from view to controller using radio buttons/checkboxes

I am trying to change the way our current system is relying heavily on javascript to pass data around when i know it can be done just using asp.net mvc. Essentially i have a few checkboxes and a few radio buttons on a form that i am posting to a database, how would you guys go about sending the data from these inputs back to the controller and then working with those values to store it in a table.

I'm looking to basically store the values of the check boxes and radio buttons in the table.




Aucun commentaire:

Enregistrer un commentaire