范例一:
<html>
<head>
<title>textbox test page</title>
</head>
<body>
<form runat="server">
<table>
<tr>
<td>User Name:</td>
<td><asp:textbox id="name" columns="20" runat="server"/></td>
</tr>
<tr>
<td>Password:</td>
<td><asp:textbox id="password" textmode="password" columns="10" maxlength="10" runat="server"/></td>
</tr>
<tr>
<td>Show Message:</td>
<td><asp:textbox id="show" textmode="multiline" columns="40" rows="10" readonly="true" runat="server"/></td>
</tr>
&l