zoukankan
html css js c++ java
解决调用HttpContext类
解决问题:
在非XXX.aspx.cs文件中使用Response、Request对象,即在aspx文件的CodeFile文件(Code Behind分离的代码文件)之外使用Response、Request对像。
方法:
1.在bin上右键点击"添加引用"--".NET"选项卡中找到System.Web你就可以看到这个引用后面的路径就是你想引用的System.Web.Dll,
路径为C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.Dll (.NET 2.0的)
2.添加进来后,然后再写using System.Web;就可以了
资
料:
在非XXX.aspx.cs文件中使用Response、Request对象
http://blog.csdn.net/webflash/article/details/4245166
System.Web.Dll为什么引用不上
http://topic.csdn.net/u/20100417/11/828db2a0-b9cc-43cb-ab03-8f9b8311d69c.html
技术文档
查看全文
相关阅读:
IE10 下兼容性问题
前端面试题十九
前端面试题十八
前端面试题十七
前端面试题十六
前端面试题十五
前端面试题十四
前端面试题十三(兼容)
前端面试题十二
前端面试题十一
原文地址:https://www.cnblogs.com/ishibin/p/2343726.html
最新文章
转 开启“大数据”时代--大数据挑战与NoSQL数据库技术 iteye
转 Hadoop傻瓜化:Datameer大数据收入翻三番
Oracle数据库体系结构(3)数据库进程
转 Oracle 11g服务详细介绍
Oracle数据库体系结构(2)数据库实例
Oracle数据库体系结构(1)整体概述
web app变革之rem
Spring的ApplicationContext&BeanFactory
Mybatis-log4j.properties
Mybatis配置文件约束
热门文章
解决打不开Github的问题
百度网盘的倍速播放
select2 美化插件
bootstarp 实现输入提示(auto complete)
获取timestamp格式的时间戳(当前时间)
BASE64转码
跨域Ajax的实现
vs2003 刷新项目失败。无法从服务器中检索文件夹信息
Json
ASP.net在IE6下乱码问题
Copyright © 2011-2022 走看看