2
Answers

Insert data into database through selected checkbox item MVC

Photo of onais ahmer

onais ahmer

7y
780
1
Insert data into database through selected checkbox item in MVC
 
i also refer this link ..
 
https://www.aspsnippets.com/Articles/ListBox-with-CheckBoxes-in-ASPNet-MVC-Razor.aspx
when i stored the data through stored procedure getting error
 
The model item passed into the dictionary is of type 'System.Int32[]', but this dictionary requires a model item of type 'CheckBox_DropDownList_MVC.Models.FruitModel'.

Answers (2)