<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StyleVote.aspx.cs" Inherits="BiceSurvey.StyleVote"  Title="佰思超强自定义调查问卷软件 - 问卷样式管理"  ValidateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table height="96%" cellspacing="0" cellpadding="0" width="96%" align="center" border="0">
  <tr>
    <td valign="top" align="center" bgcolor="#f4f4f4">
      <table height="96%" cellspacing="0" cellpadding="0" width="96%" align="center" border="0">
        <tr>
          <td width="80%" align="left" bgcolor="#f4f4f4" class="BannerFont" title="这里编辑的是最终页面样式，生成操作会覆盖这里编辑的样式">&nbsp;调查最终样式管理 </td>
          <td valign="middle" bgcolor="#f4f4f4"><asp:Label id="Label2" runat="server"></asp:Label></td>
        </tr>
        <tr>
          <td colspan="2" align="left" valign="top" bgcolor="#f4f4f4">&nbsp;<asp:GridView 
                  ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" 
                  ForeColor="#333333" GridLines="None"
                  Width="100%">
              <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
              <Columns>
                  <asp:BoundField DataField="N_SysId" HeaderText="编号" ReadOnly="True" 
                      Visible="False" />
                  <asp:BoundField DataField="C_Title" HeaderText="调查名称" />
                  <asp:TemplateField HeaderText="编辑最终页面">
                      <ItemTemplate>
                           <%#GetLogicPageEdit(Convert.ToInt32(Eval("N_SysId")))%>
                           
                      </ItemTemplate>
                  </asp:TemplateField>
                  <asp:TemplateField ShowHeader="False">
                      <ItemTemplate>
                      <%#GetLogicPage(Convert.ToInt32(Eval("N_SysId")))%>

                      </ItemTemplate>
                  </asp:TemplateField>
              </Columns>
              <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
              <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
              <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <EditRowStyle BackColor="#999999" />
              <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
              </asp:GridView>
&nbsp;<asp:Label id="Label1" runat="server" Visible="False"></asp:Label></td>
        </tr>
        <tr>
          <td colspan="2" align="center" valign="top" bgcolor="#f4f4f4">
          <asp:Label ID="Label3" runat="server" BorderStyle="Solid" BorderWidth="1px"></asp:Label>
                      <asp:TextBox ID="TextBox1" TextMode="MultiLine"  Height="600px" Width="100%" runat="server"></asp:TextBox>
        <script type="text/javascript">
            CKEDITOR.replace('ctl00_ContentPlaceHolder1_TextBox1');
        </script>
              <br />
              <asp:ImageButton id="ImageButton1" runat="server" ImageUrl="images/submit.gif" onclick="ImageButton1_Click"></asp:ImageButton></td>
        </tr>
      </table>
      <p align="center"><font face="宋体"><br />
        </font></p></td>
  </tr>
</table>
</asp:Content>

