会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
传说敬
博客园
首页
新随笔
联系
管理
订阅
2010年11月18日
在类库文件里如何获取context对象
摘要: 1.一般情况下,我们利用HttpContext.Current对象可以获取到需要的对象,例如:Request,Response,Server等HttpContext context=HttpContext.Current;这样即可获取到context对象Page current = HttpContext.Current.CurrentHandler as Page;这样就能获取到page对象Re...
阅读全文
posted @ 2010-11-18 17:55 传说敬
阅读(627)
评论(0)
推荐(0)
编辑
公告