📄 edit.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Edit" %>
<%@ Register Src="Header2.ascx" TagName="Header2" TagPrefix="uc3" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="Footer.ascx" TagName="Footer" 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 cellpadding="0" cellspacing="0" style="width: 755px">
<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: 380px; background-image: url(Images/bdg.jpg);">
<table style="width: 462px" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 201px; text-align: right">
<span style="font-size: 9pt">标题:</span></td>
<td colspan="2" style="width: 474px; text-align: left">
<asp:TextBox ID="txtSubject" runat="server" Width="395px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 201px; text-align: right; height: 12px;">
<span style="font-size: 9pt">内容:</span></td>
<td colspan="2" rowspan="3" style="width: 474px; text-align: left">
<asp:TextBox ID="txtContent" runat="server" Height="167px" TextMode="MultiLine" Width="393px"></asp:TextBox></td>
</tr>
<tr>
<td rowspan="2" style="width: 201px; height: 111px">
</td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 201px">
</td>
<td colspan="2" rowspan="1" style="width: 474px">
<asp:Button ID="btnUpdate" runat="server" Font-Size="9pt" OnClick="btnUpdate_Click"
Text="更改" />
<asp:Button ID="btnDelete" runat="server" Font-Size="9pt" OnClick="btnDelete_Click"
Text="删除投票" CausesValidation="False" /></td>
</tr>
<tr>
<td style="width: 201px; height: 12px;">
</td>
<td colspan="2" rowspan="1" style="width: 474px; height: 12px;">
<asp:Label ID="labState" runat="server" Font-Size="9pt" Height="10px" Width="206px"></asp:Label></td>
</tr>
<tr>
<td colspan="3">
<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: #ff0000;">编辑投票内容时,格式为"“票数,投票选项”<br />
初始时,在“,”前指定为0.“,”为英文状态下输入的。</span></div>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSubject"
ErrorMessage="标题不能为空" ForeColor="Blue"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</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: 50px">
<uc2:Footer ID="Footer1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -