随笔分类 - ASP.NET碎知识点
摘要:Html.RenderAction方法:@{RouteValueDictionary routeValueDic = new RouteValueDictionary { { "lineProductId", @Model != null ? @Model.LineProductId : 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(
阅读全文

浙公网安备 33010602011771号