userlogin.ascx

来自「《精通ASP.NET2.0网络应用系统开发》书中的源码」· ASCX 代码 · 共 16 行

ASCX
16
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserLogin.ascx.cs" Inherits="UserLogin" %>
<table cellSpacing="0" class="GbText" cellPadding="0" width="100%" border="0">
	<tr>
		<td valign="top"><hr width="98%" noShade SIZE="1"></td>
	</tr>
	<tr>
		<td valign="top">&nbsp;<font class="GbText">名称:</font><asp:textbox id="UserName" runat="server" cssclass="InputCss" width="135px"></asp:textbox></td>
	</tr>
	<tr>
		<td valign="top">&nbsp;<font class="GbText">密码:</font><asp:textbox id="Password" runat="server" cssclass="InputCss" width="135px" textmode="password"></asp:textbox></td>
	</tr>	
	<tr>
		<td valign="top" align="center"><br /><asp:imagebutton id="LoginBtn" runat="server" ImageUrl="~/images/Login.gif" OnClick="LoginBtn_Click"></asp:imagebutton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<asp:imagebutton id="GuestLoginBtn" runat="server" ImageUrl="~/images/GuestLogin.gif" Enabled="False"></asp:imagebutton></td>
	</tr>	
</table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?