2
Reply

Asp.net MVC Bind Multiple Checkbox list and save into db

Ashwanikumar singh

Ashwanikumar singh

Jan 19 2018 9:41 PM
148
Hello guys,
Well i am begineer in asp.net mvc 
I have got stuck.
I want to bind multiple checkbox list and then save data to database .
I have one textbox and below it my chekboxlist will bind.
The user will enter the employee code in textbox and will select multiple checkbox value and it will get save in db.
I have done binding checkbox list but i dont know how to get all those selected value in my httppost method to save those records in db.
 I am using ado.net .
Please find my code below 
 Any help would be much appreciated 

Attachment: doubt.rar

Answers (2)