MohanRaj C

MohanRaj C

  • NA
  • 43
  • 127.5k

How to display message box if any error occur in the page using c sharp?

Jun 18 2012 8:14 AM
How to display message box if any error occur in the page using c sharp?

If any error occur in the page during submitting the form,

i need to display message box.....

I tried this code in Exception

Response.Write("<script>alert('" + ex + "')</script>");

but it dindt work .....

How i solve this problem?

Answers (1)