摘要:
我们上边所看到的Action都是return View();我们可以看作这个返回值用于解析一个aspx文件。而它的返回类型是ActionResult如 public ActionResult Index() { return View(); }除了View()之外那我们这里还能用于返回什么值呢?一、ascx页面场景:要返回代码片断,比如Ajax返回一个子页我们先新建一个Action public ActionResult Ascx() { return PartialView(); ... 阅读全文
posted @ 2012-06-15 17:05
骑牛射雕
阅读(221)
评论(0)
推荐(0)
浙公网安备 33010602011771号