小编use*_*798的帖子

当TryUpdateModel无法在asp.net mvc 3中更新模型时,如何查找异常/错误

if (!TryUpdateModel<Event>(evt))
{ 
   // ... I need to retrieve the errors here
}
Run Code Online (Sandbox Code Playgroud)

有时,TryUpdateModel无法更新模型.我无法找到理由和例外?

asp.net-mvc asp.net-mvc-3

8
推荐指数
1
解决办法
3929
查看次数

标签 统计

asp.net-mvc ×1

asp.net-mvc-3 ×1