1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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:
    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