📄 guest.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="guest.aspx.cs" Inherits="guest" %>
<%@ Register Src="mycontroler/foot.ascx" TagName="foot" TagPrefix="uc1" %>
<%@ Register Src="mycontroler/head.ascx" TagName="head" 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>
</head>
<body style="background-image: url(image/back.jpg)" scroll="yes">
<form id="form1" runat="server">
<div>
<table width=100% border="0" style="background-color: #999933;">
<tr>
<td style="background-image: url(image/head.png); width: 1051px; vertical-align: middle; height: 247px; text-align: center;"></td>
</tr>
<tr>
<td height="48" style="width: 1051px">
<asp:Label ID="Label2" runat="server" ForeColor="#8080FF" Width="192px"></asp:Label>
<uc2:head ID="Head1" runat="server" />
</td>
</tr>
<tr>
<td height="536" style="width: 1051px; text-align: center;">
<table>
<tr>
<td style="width: 129px; height: 82px">
</td>
<td style="width: 112px; height: 82px">
添加投票项目</td>
<td style="width: 182px; height: 82px">
</td>
</tr>
<tr>
<td style="width: 129px; height: 73px; text-align: right;">
投票题目</td>
<td style="width: 112px; height: 73px; text-align: left;">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
<td style="width: 182px; height: 73px; text-align: left">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="投票标题不能为空" ControlToValidate="TextBox1">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 129px; height: 62px; text-align: right;">
限制IP</td>
<td style="width: 112px; height: 62px; text-align: left;">
<asp:DropDownList ID="DropDownList1" runat="server" Width="72px">
<asp:ListItem Value="0">限制IP</asp:ListItem>
<asp:ListItem Value="1">不限制IP</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 182px; height: 62px">
</td>
</tr>
<tr>
<td style="width: 129px; height: 100px; text-align: right;">
<table>
<tr>
<td style="vertical-align: bottom; width: 100px; height: 34px; text-align: right;">
时间间隔</td>
</tr>
<tr>
<td style="vertical-align: bottom; width: 100px; height: 40px">
结束投票时间</td>
</tr>
</table>
</td>
<td style="width: 112px; height: 100px; text-align: left;">
<asp:TextBox ID="TextBox3" runat="server">0</asp:TextBox><br />
<br />
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
<td style="width: 182px; height: 100px; text-align: left">
<br />
<br />
如2007-1-1 1:0:0</td>
</tr>
<tr>
<td style="width: 129px; height: 133px; text-align: right;">
上传图片<br />
<br />
<br />
请选择模式</td>
<td style="width: 112px; height: 133px; text-align: left;">
<asp:FileUpload ID="FileUpload1" runat="server" /><br />
<br />
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>单选模式</asp:ListItem>
<asp:ListItem>双选模式</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 182px; height: 133px; text-align: center;">
<asp:Button ID="Button1" runat="server" Text="确认" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="取消" /><br />
<asp:Label ID="Label1" runat="server" ForeColor="Red" Text="请选择小于20kb的图片" Width="176px"></asp:Label></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="78" style="width: 1051px; vertical-align: middle; text-align: center;">
<uc1:foot ID="Foot1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -