In order to display a custom validation error message in ASP.NET MVC, we use the ModelState method: AddModelError and the html helper: ValidationMessage.
確定! 回上一頁