<%@ Page Language="C#" MasterPageFile="~/admin/admin_page.master" AutoEventWireup="true" CodeBehind="questionnaire_edit.aspx.cs" Inherits="YXShop.Web.admin.accessories.questionnaire_edit" %>

<asp:Content ID="ContHead" ContentPlaceHolderID="head" runat="server"> 
<link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
    <link rel="stylesheet" href="../style/toolbar.css" type="text/css" />
    <script src="../scripts/public.js" type="text/javascript"></script>
    <script src="../scripts/images.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="ContTitel" ContentPlaceHolderID="pagetitle" runat="server">
添加调查问卷
</asp:Content>
<asp:Content ID="ContInfo" ContentPlaceHolderID="pageinfo" runat="server">
添加或编辑问卷<asp:LinkButton ID="btnSave" runat="server" Text="保存"></asp:LinkButton><input type="button"  id="btnReg" value="返回" onclick="window.history.back();" />
</asp:Content>
<asp:Content ID="ContMain" ContentPlaceHolderID="workspace" runat="server">
  <table width="100%" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="12%" align="right"><strong>问卷名称：</strong></td>
    <td width="84%">
        <asp:TextBox ID="txtmc" runat="server" MaxLength="30" Width="25%"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtmc" ErrorMessage="不能为空"></asp:RequiredFieldValidator>      </td>
  </tr>
  <tr>
    <td width="12%" align="right"><strong>问卷描述：</strong></td>
    <td width="84%">
        <asp:TextBox ID="txtms" runat="server" TextMode="MultiLine" Width="60%"></asp:TextBox>      </td>
  </tr>
  <tr>
    <td align="right"><strong>同一IP允许重复提交次数：</strong></td>
    <td>
        <asp:TextBox ID="TextBox1" runat="server">1</asp:TextBox>
        请填写大于0的数字<asp:CompareValidator ID="CompareValidator1" runat="server" 
                                        ControlToValidate="TextBox1" 
            ErrorMessage="请输入整数" Operator="DataTypeCheck" 
                                        Type="Integer"></asp:CompareValidator>
                                                                </td>
  </tr>
  <tr>
    <td align="right"><strong>只有登录后才能投票：</strong></td>
    <td>
        <asp:RadioButtonList ID="tp" runat="server" RepeatDirection="Horizontal">
             <asp:ListItem Text="是" Value="1"></asp:ListItem>
             <asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
        </asp:RadioButtonList>                                                </td>
  </tr>
  <tr>
    <td align="right"><strong>设置密码限制：</strong></td>
    <td>
        <asp:TextBox ID="txtqpj" runat="server" MaxLength="10" Width="25%"></asp:TextBox>
        请输入密码，为空时表示不启用此限制      </td>
  </tr>
  
 
  <tr>
    <td align="right"><strong>结束日期：</strong></td>
    <td>日期控件
       </td>
  </tr>
 
  <tr>
    <td align="right"><strong>问卷状态：</strong></td>
    <td>
        <asp:RadioButtonList ID="wjzt" runat="server" RepeatDirection="Horizontal">
             <asp:ListItem Text="启用" Value="1"></asp:ListItem>
             <asp:ListItem Text="不启用" Value="0" Selected="True"></asp:ListItem>
        </asp:RadioButtonList>  
      </td>
  </tr>
  </table>
</asp:Content>