HI.I`m new to this . Im using Northwind database . You may see the attached files as well.
The REGION DESCRIPTIONS appears in the dropdownlist , but when i try to create a new customer , no new record is saved into database , because dropdownlist selected value isnt working.
Any help ?! Thank you so.
Bhuvanesh MohankumarPosted Apr 14, 2017, 11:07 AM
I belive the values are not assign to the drop down list, so the item selected is not assigned to model, which makes data to stop inserting into database.
Create a ViewModel that will hold everything you want to be rendered at the view.
Fill it with the data you need
And at anytime you may use the Model as you please
Bhuvanesh MohankumarPosted Apr 14, 2017, 9:46 AM