All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
ASP.net下大文件上传的解决方案及WebbUpload组件源码_[Asp.Net教程]
用PHP与XML联手进行网站编程理论分析_php资料_编程技术
动态网页技术PHP程序中包含文件问题_[PHP教程]
谈SQL Server 2005中的T-SQL增强_[SQL Server教程]
《Effective,C#》-使用成员初始化语句_[Asp.Net教程]
Ajax程序中,自己实现页面前进、后退、与标签功能
PHP连接MYSQL的两种方法_[PHP教程]
C#2.0基本语法二_[Asp.Net教程]
delphi中break语句与continue语句的比较
File.Delete不能删除文件的问题_[Asp.Net教程]
Reading number is top 10 pictures
The money of more than 100 countries and regions21
Female model behind the bitterness, often being overcharged1
人物写真-谢楠
美丽的少女1
photos of ashlynn brooke(ashlynn brooke的美图)
Soong ching ling's former residence1
Chinese paper-cut grilles art appreciation3
NeedWallpaper7
Absolutely shocked. National geographic 50 animal photographys3
西方气质的东方美女1
Download software ranking
WebService在.NET中的实战应用教学视频 → 第1集
超级战舰
Unix video tutorial12
电脑知识及技巧大合集
asp.net技术内幕
仙剑奇侠传98版歌曲
小黑猫大战两米大花蛇
艳兽都市
Unix video tutorial2
JSP+Ajax Web development typical examples
delv published in(发表于) 2014/1/6 9:03:04 Edit(编辑)
asp.net全局异常处理_[Asp.Net教程]

asp.net全局异常处理_[Asp.Net教程]

asp.net全局异常处理_[Asp.Net教程]

给用户一个统一的处理异常的方法是如下
1。修改web.config
修改完成后代码如下
defaultRedirect="WebForm2.aspx"
/>
2。为全局响应,修改Global.asax
if (Server.GetLastError() is Exception)
{
Server.Transfer("WebForm2.aspx");
}


3。代码中抛出异常
throw new Exception();


相当的简单是吧







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.