Values ) { foreach (ModelError error in modelState.Errors) { DoSomethingWith(error); } }. 另请参见如何在ASP.NET MVC中获取模型状态错误的集合?
確定! 回上一頁