Click here to Skip to main content
15,036,145 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Techie,
I have created checkboxes inside a dropdown list, Even though I select multiple values it stores the very first data among the selected data. I need help to store multiple data in the database.


Is it possible?


Thanks,

Balaji.

What I have tried:

I am using data entity framework to store the data,did store procedure can help me
Posted
Updated 22-Apr-21 22:08pm
Comments
SeanChupas 22-Apr-21 8:35am
   
No way for us to know how to help without seeing what you have done.
Dave Kreskowiak 22-Apr-21 10:47am
   
How you do this depends on what's in your dropdown lists, where that data comes from, and if those lists change at all.

You're going to have to go into a lot more detail about what you're doing or you're not going to get any answers you can do anything with.

1 solution

Accordingly to the comments to the question - you didn't provide enough information to help you. Nevertheless...

Please, take a look at this article: How To Bind Checkbox From Database In MVC 5 Using Entity Framework[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900