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

    Asp code throws an exception

    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().
    <% 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.
    <% =Response.Write("hello") %>

  • Sign In to post your comments