I have created a form for the student details in Mvc,but am getting an error"
Error
Hi,
I have created a form for the student details in Mvc,but am getting an error"The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[StudentDetails.Models.StudentDetail]', but this dictionary requires a model item of type 'StudentDetails.Models.StudentEntities'."
I have created a form for the student details in Mvc,but am getting an error"
The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[StudentDetails.Models.StudentDetail]', but this dictionary requires a model item of type 'StudentDetails.Models.StudentEntities'."
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Anil KumarRank #2,740 · 511 reputationPosted Feb 27, 2015, 10:57 PM EST
Please share your controller and view code for more help
To help others, please mark this solution as Accepted if it solves the purpose
Joginder BangerRank #360 · 7K reputationPosted Feb 28, 2015, 8:29 AM EST
Rizwan share your code for better understanding and solve problem as per solution.