随笔分类 -  ASP.NET碎知识点

摘要:Html.RenderAction方法:@{RouteValueDictionary routeValueDic = new RouteValueDictionary { { "lineProductId", @Model != null ? @Model.LineProductId : 0 }, ... 阅读全文
posted @ 2014-05-25 20:25 just。。。 阅读(227) 评论(0) 推荐(0)
摘要:1.asp.net在自定义的类中引用Response,Request,Server等对象asp.net在自定义的类中引用Response,Request,Server等对象只需直接写System.Web.HttpContext.Current.Response即可,类似的有System.Web.HttpContext.Current.RequestSystem.Web.HttpContext.Current.ServerSystem.Web.HttpContext.Current.Session等例如:System.Web.HttpContext.Current.Response.Write( 阅读全文
posted @ 2012-09-17 14:11 just。。。 阅读(122) 评论(0) 推荐(0)