Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

RE: How to Display Error?

 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      11-24-2004
you can do a try catch statement

try
'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 asp.net, I get runtime error.
> How do I display error with line number and column?
>
>
>

 
Reply With Quote
 
 
 
Reply

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



Advertisments