2013年12月6日
摘要:
我们来看两个接口: public interface IActionFilter{ // Methods void OnActionExecuted(ActionExecutedContext filterContext); void OnActionExecuting(ActionExecutingContext filterContext);}public interfac...
阅读全文
posted @ 2013-12-06 17:28
快乐于行
阅读(310)
推荐(0)
2013年11月10日
posted @ 2013-11-10 10:14
快乐于行
阅读(452)
推荐(0)
posted @ 2013-11-10 10:13
快乐于行
阅读(215)
推荐(0)
posted @ 2013-11-10 10:12
快乐于行
阅读(397)
推荐(0)
posted @ 2013-11-10 10:11
快乐于行
阅读(760)
推荐(0)
posted @ 2013-11-10 10:10
快乐于行
阅读(238)
推荐(0)
2013年11月4日
posted @ 2013-11-04 09:41
快乐于行
阅读(231)
推荐(0)
2013年6月12日
posted @ 2013-06-12 20:59
快乐于行
阅读(289)
推荐(0)
摘要:
public static MvcHtmlString NewTextBox(this HtmlHelper htmlHelper, string name, string value){ var builder = new TagBuilder("input"); builder.Attributes["type"] = "text"; builder.Attribute...
阅读全文
posted @ 2013-06-12 01:47
快乐于行
阅读(376)
推荐(0)
2013年6月11日
摘要:
1.后台代码为: public ActionResult GetDate() { return Content(DateTime.Now.ToString()); }在index视图下: @using (Ajax.BeginForm("GetDate", new AjaxOptions() { Confirm = "大爷,您悠着点", Ht...
阅读全文
posted @ 2013-06-11 22:32
快乐于行
阅读(216)
推荐(0)