- Joined
- Jun 14, 2008
- Messages
- 1
- Reaction score
- 0
I have Windows XP Professional, IIS,.NET Framework Installed but ASP.NET Code is not Working.
The code is :
**********************************************************
<html>
<head>
<script language="vb" runat=server>
private sub wish(sender as Object, e as System.EventArgs)
lb1.Text="Hello Mr. "+t1.Text
end sub
</script>
</head>
<body>
<form runat=server>
<table align=center border=2>
<tr><td colspan=2>ACTIVE SERVER PAGES</tr>
<tr><td>Enter Your Name<td><asp:textbox id=t1 runat=server/></tr>
<tr><td colspan=2 align=center><asp:Button text="Click Here" runat=server onclick="wish"/></tr>
<tr><td colspan=2 align=center><asp:label id=lb1 runat=server/></tr>
</table>
</form>
</body>
</html>
**********************************************************
The result of the code is attached here
Help me Plz!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The code is :
**********************************************************
<html>
<head>
<script language="vb" runat=server>
private sub wish(sender as Object, e as System.EventArgs)
lb1.Text="Hello Mr. "+t1.Text
end sub
</script>
</head>
<body>
<form runat=server>
<table align=center border=2>
<tr><td colspan=2>ACTIVE SERVER PAGES</tr>
<tr><td>Enter Your Name<td><asp:textbox id=t1 runat=server/></tr>
<tr><td colspan=2 align=center><asp:Button text="Click Here" runat=server onclick="wish"/></tr>
<tr><td colspan=2 align=center><asp:label id=lb1 runat=server/></tr>
</table>
</form>
</body>
</html>
**********************************************************
The result of the code is attached here
Help me Plz!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!