问题How do I access the ModelState from within my View (aspx page)? 回答1:Use ViewContext.ViewData.ModelState. 来源:https://stackoverflow.com/questions/1049168/how-do-i-access-the-modelstate-from-within-my-view-aspx-page 标签 ASP.NET asp.net-mvc view modelstate