<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MakeLogic.aspx.cs" Inherits="BiceSurvey.MakeLogic"  Title="佰思超强自定义调查问卷软件 - 问卷逻辑跳转管理"  %>
<%@ Register assembly="DropDownCheckList" namespace="UNLV.IAP.WebControls" tagprefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="96%" height="96%" border="0" align="center" cellpadding="0" cellspacing="0"
							class="text">
							<tr>
								<td height="300" align="Left" bgcolor="#f4f4f4"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td><span class="BannerFont">逻辑跳转问卷制作</span><br />
                                      <br />
问卷名称：<br />
现有逻辑分页：<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="3"
                                        Width="688px" onrowcancelingedit="GridView1_RowCancelingEdit" 
                                        onrowdatabound="GridView1_RowDataBound" onrowediting="GridView1_RowEditing" 
                                        onrowupdating="GridView1_RowUpdating" BackColor="White" 
                                        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
                                        onrowdeleting="GridView1_RowDeleting">
  <RowStyle ForeColor="#000066" />
  <Columns>
  <asp:BoundField DataField="N_LogicId" HeaderText="页码" ReadOnly="True" />
  <asp:TemplateField HeaderText="题目">
    <EditItemTemplate>
      <cc2:DropDownCheckList ID="DropDownCheckList1" runat="server" 
                                                        ClientCodeLocation="Images/BiceDDList.js" DataTextField="Text" 
                                                        DataValueField="Value" DropDownMode="OnTopWithShim" 
                                                        DropImageSrc="Images/but.gif"> </cc2:DropDownCheckList>
    </EditItemTemplate>
    <ItemTemplate>
      <asp:Label ID="Label1" runat="server" Text='<%# Bind("C_SubjectId") %>'></asp:Label>
    </ItemTemplate>
  </asp:TemplateField>
  <asp:BoundField DataField="N_Order" HeaderText="排序" />
  <asp:BoundField DataField="C_Score" HeaderText="规则" />
  <asp:BoundField DataField="DT_Date" HeaderText="日期" DataFormatString="{0:d}" 
                                                ReadOnly="True" />
  <asp:CommandField ShowEditButton="True" />
  <asp:CommandField ShowDeleteButton="True" />
  </Columns>
  <FooterStyle BackColor="White" ForeColor="#000066" />
  <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
  <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
		<br />
										<br />
新增逻辑分页：<br />
选择题目列表：<br />
<cc2:DropDownCheckList ID="DropDownCheckList1" runat="server" 
                                        ClientCodeLocation="Images/BiceDDList.js" DropImageSrc="Images/but.gif" 
                                        DataTextField="Text" DataValueField="Value"  DropDownMode="OnTopWithShim" 
                                        ></cc2:DropDownCheckList>
										<br />
										<br />
逻辑跳转表达式：
<asp:TextBox ID="TextBox1" runat="server" 
                                            ToolTip="例子 10,20,12$21,50,23 含义:如果问卷得分大于10小于20，将跳转到显示页码为12对应的逻辑页，$符为间隔符号，其后意义相同.请确保正个规则匹配无疏漏，其中单独一个$表示该页为结束页"></asp:TextBox>
<br />
<br />
排序号：
<asp:TextBox ID="TextBox2" runat="server">100</asp:TextBox>
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确定" />

<br />
<br /></td>
                                  </tr>
                                </table>								  </td>
							</tr>
						</table>
</asp:Content>
