<%@ Page language="c#" Codebehind="setupvote.aspx.cs" AutoEventWireup="false" Inherits="baoge.setupvote" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>投票调查系统</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<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.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table cellpadding="3" cellspacing="0" border="0" width="550" align="center">
				<tr>
					<td width="100%" colspan="2"><B>每行一个投票项目，最多10个 超过自动作废，空行自动过滤</B>&nbsp;
					</td>
				</tr>
				<TR>
					<TD width="100%"><FONT face="宋体">投票标题：</FONT></TD>
					<TD width="100%" colSpan="2"><FONT face="宋体">
							<asp:TextBox id="txttitle" runat="server" Width="296px"></asp:TextBox>&nbsp;&nbsp;</FONT></TD>
				</TR>
				<tr>
					<td width="20%"><b>投票项目</b>
						<asp:radiobuttonlist id="votetype" runat="server">
							<asp:listitem id="option1" runat="server" value="0" Text="单选投票" Selected="True" />
							<asp:listitem id="option2" runat="server" value="1" Text="多选投票" />
						</asp:radiobuttonlist>
					</td>
					<td width="80%">
						<asp:textbox id="vote" cols="50" rows="8" textmode="multiline" runat="server" />
						<asp:RequiredFieldValidator id="IsnullTextbox" runat="server" ErrorMessage="请输入投票内容" ControlToValidate="vote" />
					</td>
				</tr>
				<TR>
					<TD width="20%"><FONT face="宋体">是否首页显示：</FONT></TD>
					<TD width="80%"><FONT face="宋体">
							<asp:radiobuttonlist id="RadioButtonList1" runat="server" Width="136px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></FONT></TD>
				</TR>
				<tr>
					<td valign="middle" colspan="2" align="center">
						<asp:Button id="Button1" runat="server" Text="发  表" CssClass="TEXT" />
						<INPUT type="reset" value="清  除" class="TEXT">
					</td>
				</tr>
			</table>
			<table border="0" align="center">
				<tr>
					<td><asp:Label id="Label1" ForeColor="Red" Text="设置成功请点击" Visible="False" runat="server" />
						<asp:Button id="Button2" runat="server" Text="投  票" Visible="False" CssClass="TEXT" /></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
