📄 add.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Add.aspx.cs" Inherits="Vote" %>
<%@ Register Src="Header2.ascx" TagName="Header2" TagPrefix="uc3" %>
<%@ Register Src="Footer.ascx" TagName="Footer" TagPrefix="uc1" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc2" %>
<!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>添加投票</title>
<link href="CSS/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top: 0px; padding-top: 0px">
<form id="form1" runat="server">
<div style="text-align: center">
<table style="width: 755px" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" rowspan="1" style="width: 758px; height: 5px">
<uc3:Header2 ID="Header2_1" runat="server" />
</td>
</tr>
<tr>
<td colspan="3" rowspan="3" style="width: 758px; height: 381px; background-image: url(Images/bdg.jpg); background-repeat: no-repeat;">
<table style="width: 463px" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 69px; text-align: right">
<span style="font-size: 9pt">标题:</span></td>
<td colspan="2" style="text-align: left">
<asp:TextBox ID="TextBox1" runat="server" Font-Size="9pt" Width="385px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 69px; height: 2px; text-align: right">
<span style="font-size: 9pt">内容:</span></td>
<td colspan="2" rowspan="2" style="text-align: left">
<asp:TextBox ID="TextBox2" runat="server" Font-Size="9pt" Height="148px" Width="387px" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 69px; height: 106px">
</td>
</tr>
<tr>
<td style="width: 69px">
</td>
<td colspan="2">
<asp:Button ID="btnAdd" runat="server" Font-Size="9pt" Text="添加" OnClick="btnAdd_Click" />
<asp:Button ID="btnCancle" runat="server" Font-Size="9pt" Text="取消" OnClick="btnCancle_Click" CausesValidation="False" /></td>
</tr>
<tr>
<td colspan="3" style="height: 62px">
<div style="width: 452px; height: 30px">
<div style="width: 320px; height: 11px">
<span style="font-size: 9pt; color: #ff0033;"><strong>“添加投票选项”说明</strong></span></div>
<span style="font-size: 9pt; color: #ff0033;">添加投票内容时,格式为"“票数,投票选项”<br />
初始时,在“,”前指定为0.“,”为英文状态下输入的。</span></div>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="标题不能为空" ForeColor="Blue"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
ShowSummary="False" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td colspan="3" rowspan="1" style="width: 758px; height: 5px">
</td>
</tr>
<tr>
<td colspan="3" rowspan="1" style="width: 758px; height: 85px">
<uc1:Footer ID="Footer1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -