Link to home
Start Free TrialLog in
Avatar of ziorrinfotech
ziorrinfotech

asked on

Response.write does not write a string on web page

I got an error msg while doing a process on my website.

and i want to present that error msg to the user.

i am giving the whole error msg below.

when i am doing response.write then i am not getting the error msg string on the page.
any one could help me out here
this is the actual error msg
 
\"\0\" is an unexpected token. The expected token is \">\". Line 34176, position 29
 
 
 
and i am trying to do 
 
string r = "ErrorMsg = '\"\0\" is an unexpected token. The expected token is \">\". Line 34176, position 29.'";
 
 
        Response.Write(r);
 
and i am getting this as the output
 
ErrorMsg = '"

Open in new window

SOLUTION
Avatar of Joep_Killaars
Joep_Killaars
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Pratima
Pratima
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial