RE: How to Display Error?

Discussion in 'ASP .Net' started by =?Utf-8?B?TWlrZQ==?=, Nov 24, 2004.

  1. 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?
    >
    >
    >
     
    =?Utf-8?B?TWlrZQ==?=, Nov 24, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Imran Aziz
    Replies:
    4
    Views:
    1,543
    Imran Aziz
    Aug 11, 2005
  2. Marc Twain

    Display and display model

    Marc Twain, Jan 13, 2004, in forum: Java
    Replies:
    1
    Views:
    395
    Matt Humphrey
    Jan 13, 2004
  3. SG
    Replies:
    6
    Views:
    30,770
    ricuzzo
    Jan 15, 2008
  4. blank101
    Replies:
    2
    Views:
    552
    blank101
    Feb 5, 2005
  5. =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=

    How to: display page, post back, display again

    =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=, Jul 14, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    3,052
    Walter Wang [MSFT]
    Jul 14, 2006
Loading...

Share This Page