会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
java课程设计
使用模板定制Login控件
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginTemplate.aspx.cs" Inherits="LoginTemplate" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>使用模板定制Login控件</title> <mce:style type="text/css"><!-- .loginError { color:Red; font:bold 14px Arial,Sans-Serif; } --></mce:style><style type="text/css" mce_bogus="1"> .loginError { color:Red; font:bold 14px Arial,Sans-Serif; } </style> </head> <body> <form id="form1" runat="server"> <div> <asp:Login ID="Login1" runat="server"> <LayoutTemplate> <asp:Label ID="FailureText" EnableViewState="false" CssClass="loginError" runat="server" /> <br /><br /> <asp:Label ID="lblUserName" AssociatedControlID="UserName" Text="UserName:" runat="server"> </asp:Label> <br /> <asp:TextBox ID="UserName" runat="server"></asp:TextBox> <br /><br /> <asp:Label ID="lblPassword" AssociatedControlID="Password" Text="Password:" runat="server"> </asp:Label> <br /> <asp:TextBox ID="Password" TextMode="Password" runat="server"> </asp:TextBox> <br /> <br /> <asp:Button ID="btnLogin" Text="Login" CommandName="Login" runat="server" /> </LayoutTemplate> </asp:Login> </div> </form> </body> </html>
posted on
2010-05-20 14:31
java课程设计
阅读(
329
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告