You must Sign In to post a response.
  • Category: Complaints

    Asp code throws an exception

    Hello
    I try to use a page with mix code of asp and html
    I use <%Response.Write("hello")%> and get an error message
    Can you help?

    Thank you
  • #7051
    Hello.Try leave a space between the % character and Response.Write().
    Example:
    <% Response.Write("hello") %>
    Or if not work it seems you forgot the equal sign. When you invoke a method on the page should be set before calling the equal sign.
    Example:
    <% =Response.Write("hello") %>


  • Sign In to post your comments