开发者

On error Resume next in ASP

HI,

I want to catch SQL error in my Page.If I use "On error Resume next" ,If page having some other error it wont throw开发者_StackOverflown .Can u plese give solution for handling error


You can revert the standard exception raising by using

ON ERROR GOTO 0

http://www.powerasp.com/content/new/on-error-resume-next.asp


Also, don't forget that if you put On Error Resume Next in a Sub or a Function it will only apply to that Sub/Function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜