Net MVC 六種處理exception的方式. 1. 使用try catch. public ActionResult ErrorPage() { try { ......; } catch(Exception ex) { return View("Error"); } }
確定! 回上一頁