📄 guestbook.aspx
字号:
<%@ Page language="c#" Codebehind="guestBook.aspx.cs" AutoEventWireup="false" Inherits="shop.guestBook" %>
<%@ Register Src="Controls/head.ascx" TagName="head" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>留言板</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<link href="style/SiteStyle.css"type="text/css" rel="stylesheet"/>
</head>
<body>
<form id="form1" runat="server">
<center>
<table style="border-top-style: dotted; border-right-style: dotted; border-left-style: dotted; border-bottom-style: dotted">
<tr>
<td style="width: 733px">
<uc1:head ID="Head1" runat="server" />
</td>
</tr>
<tr>
<td style="width: 733px; background-color: ghostwhite;" align="center"><table style="width: 564px; height: 68px; background-color: #ffffff; border-top-style: dotted; border-right-style: dotted; border-left-style: dotted; border-bottom-style: dotted;" border="1" cellpadding="0" cellspacing="0" id="Table2" width="564">
<tr>
<td style="font-size: 24pt; color: #ffffff; background-color: #43a0db" align="center">
♂顾客留言板♀</td>
</tr>
<tr>
<td valign="top" style="height: 286px">
<asp:Panel ID="pnlInput" runat="server" Height="112px" Width="560px">
<table id="Table3" border="1" cellpadding="0" bordercolor="#43a0db" bordercolordark="#ffffff"
cellspacing="0" style="width: 564px; height: 68px" width="564">
<tr>
<td style="width: 88px">
类 型:</td>
<td>
<asp:DropDownList ID="ddlType" runat="server" Width="112px">
<asp:ListItem Value="普通留言">普通留言</asp:ListItem>
<asp:ListItem Value="业务合作">业务合作</asp:ListItem>
<asp:ListItem Value="服务投诉">服务投诉</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td>
主 题:</td>
<td>
<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>*
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
ErrorMessage="请输入主题内容!">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 88px">
姓 名:</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>*
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName"
ErrorMessage="请输入您的姓名!">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 88px">
E-mail:</td>
<td>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>*
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtEmail"
ErrorMessage="请输入您的Email以方便为您联系!">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
ErrorMessage="Email格式错误!" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="width: 88px">
电 话:</td>
<td>
<asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 88px">
反馈信息:</td>
<td>
<asp:TextBox ID="txtContent" runat="server" Height="128px" TextMode="MultiLine" Width="440px"></asp:TextBox>*
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtContent"
ErrorMessage="请输入反馈内容!">*</asp:RequiredFieldValidator>
<asp:Label ID="lblError" runat="server" ForeColor="Red" Width="272px"></asp:Label></td>
</tr>
<tr>
<td style="width: 88px">
</td>
<td>
<asp:Button ID="btnSure" runat="server" Text="提交留言" Width="88px" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pnlResult" runat="server" Height="40px" Visible="False" Width="536px">
留言成功!我们已经收到您的留言,谢谢! <a href="default.aspx">返回首页</a>
</asp:Panel>
</td>
</tr>
</table>
<hr color="#43a0db" size="1" style="width: 771px" />
<table width="100%">
<tr>
<td align="center" style="height: 17px">
© 版权所有2000-2006,杭州品杰科技有限责任公司</td>
</tr>
<tr>
<td align="center" style="height: 16px">
未经杭州品杰科技有限责任公司书面特别授权,请勿转载或建立镜像,违者依法必究</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -