Jump to content

error!


knowledgehungry

Recommended Posts

hi all, when i tried running one of the code from the given ASP.NET examples in w3schools.com i found following error.My code Look Like this:<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" action="Default.aspx" method="post" runat="server"> <div> Your name: <input type="text" name="fname" size="20"> <input type="submit" value="Submit"> </div> </form><%dim fname;fname=Request.Form("fname")If fname<>"" ThenResponse.Write("Hello " & fname & "!")End If%></body></html>================ERROR:=================Source Error: Line 19: <%Line 20: dim fname;Line 21: fname=Request.Form("fname")Line 22: If fname<>"" ThenLine 23: Response.Write("Hello " & fname & "!")

Link to comment
Share on other sites

well i tried this but , it doesnot work.Actually the problem i think is with the use of javascript. Can u please rectify.Thanks a lot.
You don;t have any javascript in the provided code. Can you post the whoile page and the spcific error message and stack trace.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...