<%@ Page language="c#" Codebehind="VoteEdit.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarSite.WebAdmin.VoteEdit" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>网站调查管理</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="基本资料↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label2" runat="server">调查标题</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarSite_name" runat="server" Width="200px"></asp:TextBox><FONT face="宋体" color="red">*&nbsp;
										</FONT><FONT face="宋体" color="#ff0000">ID</FONT>
										<asp:TextBox id="StarSite_Id" runat="server" Width="30px" Enabled="False"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label3" runat="server">有效时间从</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StartDate" runat="server"></asp:TextBox><FONT face="宋体" color="red">*</FONT><A title="选择时间" href="javascript:OpenCalendar('StartDate', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label4" runat="server">到</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="EndDate" runat="server"></asp:TextBox><FONT face="宋体" color="red">*</FONT><A title="选择时间" href="javascript:OpenCalendar('EndDate', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label16" runat="server">录入时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarSite_Time" runat="server"></asp:TextBox></TD>
									<TD></TD>
									<TD>&nbsp;
										<asp:checkbox id="DeleteFlag" runat="server" Text="删除"></asp:checkbox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Button2" runat="server" Text="返回列表"></asp:button></P>
						<P><asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
						<P>
							<HR width="100%" SIZE="1">
							<asp:datagrid id="DGValidate" runat="server" Width="100%" Height="68px" ForeColor="Red" AutoGenerateColumns="False"
								Visible="False">
								<AlternatingItemStyle ForeColor="Red"></AlternatingItemStyle>
								<ItemStyle ForeColor="Red"></ItemStyle>
								<HeaderStyle ForeColor="Red" CssClass="WsdnOrgTitle1"></HeaderStyle>
								<Columns>
									<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
									<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
									<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
								</Columns>
							</asp:datagrid>
					</TD>
				</TR>
				<TR>
					<TD colSpan="4">
						<P>
							<asp:datagrid id="Datagrid2" runat="server" Width="100%" AutoGenerateColumns="False" PageSize="15"
								AllowPaging="True">
								<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
								<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
								<FooterStyle HorizontalAlign="Right"></FooterStyle>
								<Columns>
									<asp:BoundColumn DataField="StarSite_id" HeaderText="id"></asp:BoundColumn>
									<asp:BoundColumn DataField="StarSite_name" HeaderText="调查项目"></asp:BoundColumn>
									<asp:BoundColumn DataField="StarSite_num" HeaderText="投票数"></asp:BoundColumn>
									<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
									<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
								</Columns>
								<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
							</asp:datagrid></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1" style="HEIGHT: 27px"><asp:button id="Button3" runat="server" Text="添加调查项目↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel2" runat="server" Visible="False">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<asp:Label id="Label1" runat="server">调查项目</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarSite_name1" runat="server"></asp:TextBox></TD>
									<TD></TD>
									<TD></TD>
								</TR>
							</TABLE>
							<asp:Button id="Button4" runat="server" Text=" 添加 "></asp:Button>
						</asp:panel></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
