<%@ Page Language="VB" %>
<script runat="server">
dim Username as string
dim Password as string
dim BackColor as string
sub Submit(Sender as Object, e as EventArgs)
Label1.Text = "Username: <b>" & User.Text & _
"</b><br>" & "Password: <b>" & Pass.Text & "</b>"
end sub
</script>
<html><body>
<form runat="server">
<table>
<tr>
<td><b>Login: </b></td>
<td><ASP:TextBox id="User" runat="server"/></td>
</tr>
<tr>
<td><b>Password: </b></td>
<td><ASP:TextBox id="Pass" TextMode="Password"
runat="server"/></td>
</tr>
<tr>
<td></td>
<td><ASP:Button Text="Submit" runat="server"
OnClick="Submit" /></td>
</tr>
</table>
<ASP:Label id="Label1" runat="server"/>
</form>
</body></html>
|