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

浙公网安备 33010602011771号