I am having problems with a line of ASP code involving response.write

Discussion in 'C#' started by ralbright, Dec 26, 2011.

  1. #1
    Ok folks, I am trying to write a line of code in Classic ASP for a button that will trigger it to go to another page with a querystring variable. However I am having difficulties getting this to work.


    Here is my code so far:


    response.write "<td valign='top'><input type='button' name='cmdUpdateInfo' value='Update Info' tabindex='7' onclick='window.location=updatecustomer.asp?UpdateID=""'" & rs("ID") & "'""/></td>" & vbCrLf
    Code (markup):

    When this line is processed I get the following error on my ASP processor:
    Error Type:
    (0x80020009)
    Exception occurred.
    /ls_internal/newinvoice.asp, line 325


    line 325 is the line of code above. I know this is something simple, but for the life of me, I cannot seem to figure it out.


    Thank you in advance.
     
    ralbright, Dec 26, 2011 IP