Asp.net

如何從我的視圖(aspx 頁面)中訪問 ModelState?

  • June 26, 2009

如何從我的視圖(aspx 頁面)中訪問 ModelState?

使用ViewContext.ViewData.ModelState.

引用自:https://stackoverflow.com/questions/1049168