温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:留缘木头Asp.net多用户留言板2.0
当前文件:
MultiuserGuestBook/login.aspx[4K,2009-6-12 11:47:56],打开代码结构图
MultiuserGuestBook/login.aspx[4K,2009-6-12 11:47:56],打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.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 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="150"> 23
<tr> 24
<td nowrap="nowrap" style="width: 100%; height: 54px"> 25
<p align="center"> 26
用户名:<asp:TextBox ID="txtuserid" 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="txtpwd" 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
</td> 46
</tr> 47
</table> 48
<asp:Label ID="lblerr" runat="server" ForeColor="#C00000" Style="position: static"></asp:Label></asp:Panel> 49
<asp:Panel ID="Panel2" runat="server" BackColor="#F7F3EC" Height="50px" Style="position: static" 50
Width="700px"> 51
<table border="0" cellpadding="0" cellspacing="0" style="width: 98px; position: static; height: 107px;" align="center"> 52
<tr> 53
<td style="width: 100px; height: 16px; font-size: 12px; color: #0080ff;" align="center"> 54
已经成功退出!</td> 55
</tr> 56
<tr> 57
<td style="width: 100px; height: 16px; font-size: 12px; color: #0080ff;" align="center"> 58
欢迎再次光临!!</td> 59
</tr> 60
<tr> 61
<td style="width: 100px; font-size: 12px; color: #cc33ff; height: 8px;" align="center"> 62
<<a href= 'index.aspx?userid=<%=userid %>'><font color=color: #cc33ff>返回留言主页</font></a> ></td> 63
</tr> 64
</table> 65
</asp:Panel> 66
<br /> 67
<uc1:footer ID="Footer1" runat="server" /> 68
<a href="controlpart/header.ascx.cs"></a> 69
</div> 70
</form> 71
</body> 72
</html> 73





td 