摘要:
1:MVC 中的@是什么意思? 类似于只不过它没有闭合的,这是MVC3.0的新特性2:关于ASP.NET MVC的Html.BeginForm()方法Html.BeginForm()方法是构建表单的,比如Html.BeginForm("ActionName", "ControllerName"), ... 阅读全文
摘要:
public ActionResult Delete(int id) { Book book = db.Book.Find(id); if (book == null) { ... 阅读全文