温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:留缘木头Asp.net多用户留言板2.0
当前文件:
MultiuserGuestBook/admlogin.aspx[4K,2009-6-12 11:47:56],打开代码结构图
MultiuserGuestBook/admlogin.aspx[4K,2009-6-12 11:47:56],打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admlogin.aspx.cs" Inherits="login" %> 2
3
<%@ Register Src="controlpart/footer.ascx" TagName="footer" TagPrefix="uc1" %> 4
<%@ Register Src="controlpart/header.ascx" TagName="header" TagPrefix="uc2" %> 5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6
<html xmlns="http://www.w3.org/1999/xhtml"> 7
<head id="Head1" runat="server"> 8
<title>管理员登陆</title> 9
<style type="text/css"> 10
td { font-size: 9pt; line-height: 12pt} 11
a:link {color: #0080FF; text-decoration: none } 12
a:visited {color: #0080FF; text-decoration: none } 13
a:hover {color: #000000; text-decoration: underline } 14
</style> 15
</head> 16
<body background="img/bg01.gif"> 17
<form id="form1" runat="server"> 18
<div align="center"> 19
<uc2:header ID="Header1" runat="server" /> 20
<asp:Panel ID="Panel1" runat="server" Height="50px" Style="position: static" Width="700px" BackColor="#F7F3EC"> 21
<table bgcolor="#f7f3ec" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" 22
style="position: static; border-collapse: collapse; width: 20px;"> 23
<tr> 24
<td nowrap="nowrap" style="width: 100%; height: 54px"> 25
<p align="center"> 26
用户名:<asp:TextBox ID="txtadmid" runat="server" style="border-right: #009900 1px dotted;border-top: #009900 1px dotted; 27
font-size: 9pt; border-left: #009900 1px dotted;color: #0080ff; 28
border-bottom: #009900 1px dotted; font-family: 宋体; background-color: #f7f3ec"></asp:TextBox><br /> 29
密 码:<asp:TextBox ID="txtadmpwd" runat="server" style="border-right: #009900 1px dotted; 30
border-top: #009900 1px dotted; font-size: 9pt; border-left: #009900 1px dotted; 31
color: #0080ff; border-bottom: #009900 1px dotted; font-family: 宋体; background-color: #f7f3ec" TextMode="Password"></asp:TextBox><br /> 32
<asp:Button ID="btnload" runat="server" style="border-right: #009900 1px dotted; border-top: #009900 1px dotted; 33
font-size: 9pt; border-left: #009900 1px dotted; width: 137px; color: #009900; 34
border-bottom: #009900 1px dotted; font-family: 宋体; height: 18px; background-color: #cccc99" Text="登陆" OnClick="btnload_Click" /></p> 35
</td> 36
</tr> 37
<tr> 38
<td style="width: 100%"> 39
<p align="center"> 40
</p> 41
</td> 42
</tr> 43
<tr> 44
<td style="width: 100%; height: 16px;"> 45
<p align="center"> 46
<asp:Label ID="lblerr" runat="server" ForeColor="#C00000" Style="position: static"></asp:Label></p> 47
</td> 48
</tr> 49
</table> 50
</asp:Panel> 51
<asp:Panel ID="Panel2" runat="server" BackColor="#F7F3EC" Height="50px" Style="position: static" 52
Width="700px"> 53
<table border="0" cellpadding="0" cellspacing="0" style="position: static" width="700"> 54
<tr> 55
<td style="height: 16px"> 56
<font color="maroon">成功退出!</font></td> 57
</tr> 58
<tr> 59
<td> 60
<font color="#cc0099"><<a href="Default.aspx">单击返回主页面</a>></font></td> 61
</tr> 62
<tr> 63
<td> 64
</td> 65
</tr> 66
</table> 67
</asp:Panel> 68
<uc1:footer ID="Footer1" runat="server" /> 69
<a href="controlpart/header.ascx.cs"></a> 70
</div> 71
</form> 72
</body> 73
</html> 74





td 