Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RE: How to Display Error?

Thread Tools

RE: How to Display Error?

Posts: n/a
you can do a try catch statement

'whatever your heart desires
catch (ex as Exception)
response.write(ex.message or ex.source) or
label.text = ex.message or source or ??

this will write any errors to your web page

"Bill Patel" wrote:

> In asp, error would display in the browser. In, I get runtime error.
> How do I display error with line number and column?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display byte array back to pdf and display in IE SG Java 6 01-15-2008 01:02 PM
choosing to display or not to display a checkbox in repeater control. Imran Aziz ASP .Net 4 08-11-2005 05:00 PM
mixing raw xml display w/ formated display blank101 XML 2 02-05-2005 03:10 PM
Double double display display problem problem Tom Accuosti Firefox 3 09-27-2004 10:02 PM
Display and display model Marc Twain Java 1 01-13-2004 07:05 PM