读书人

一个MVC有关问题

发布时间: 2012-10-19 16:53:35 作者: rapoo

一个MVC问题,急
The model item passed into the dictionary is of type 'Uzai.Tools.payKQKJ.KQKJ_Model', but this dictionary requires a model item of type 'uzaimvc.Models.Proc_FiveViewData'.

异常详细信息: System.InvalidOperationException: The model item passed into the dictionary is of type 'Uzai.Tools.payKQKJ.KQKJ_Model', but this dictionary requires a model item of type 'uzaimvc.Models.Proc_FiveViewData'.
请问下这个是什么造成的,求解,急

[解决办法]
类型不一样,需要uzaimvc.Models.Proc_FiveViewData,但你传的是'Uzai.Tools.payKQKJ.KQKJ_Model类型

读书人网 >asp.net

热点推荐