How do I access the ModelState from within my View (aspx page)?

如何从 View (aspx 页面)访问 ModelState?

32623 次浏览

使用 ViewContext.ViewData.ModelState