摘要:
首先使用Asp.Net MVC可以不使用Html Helper,不过使用了Html Helper可以节约很多时间的O(∩_∩)O~ 一、标准Html Helper .ActionLink 创建一个链接,但现在还不能创建一个带图片的链接 To learn more about this website, click the following link: ... 阅读全文
摘要:
╮(╯▽╰)╭ 好像Model没什么好写的,都是大家以前的数据库操作层啊,业务逻辑啊 什么的 除了View和Controller都归到Model就好了 我晕晕晕 阅读全文
摘要:
一、使用View Data 首先要在Controller里加代码: public class ProductController : Controller { // // GET: /Product/ public ActionResult Index() { ViewData["Messag... 阅读全文
摘要:
下面是一个Controller的定义: public class ProductController : Controller { // // GET: /Product/ public ActionResult Index() { return View(); } ... 阅读全文