<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MakeDict.aspx.cs" Inherits="BiceSurvey.MakeDict" Title="佰思超强自定义调查问卷软件 - 跳转词条管理"%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br/><table width="96%" height="96%" border="0" align="center" cellpadding="0" cellspacing="0"
							class="text">
							<tr>
								<td height="300" align="Left" valign="top" bgcolor="#f4f4f4"><span class="BannerFont">结果逻辑跳转文本对照表</span>                                    
                                    <br />
    
    <asp:GridView ID="GridView1" runat="server" 
            onrowcancelingedit="GridView1_RowCancelingEdit" 
            onrowediting="GridView1_RowEditing" onrowupdating="GridView1_RowUpdating" AutoGenerateColumns="False" 
                                        Width="600px" onrowcommand="GridView1_RowCommand" 
                                        onrowdeleting="GridView1_RowDeleting" BackColor="White" 
                                        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
        <RowStyle ForeColor="#000066" />
        <Columns>
            <asp:BoundField DataField="N_ResId" HeaderText="编号" ReadOnly="True" />
            <asp:TemplateField HeaderText="内容">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Height="100px" 
                        ontextchanged="TextBox1_TextChanged" Text='<%# Bind("C_ResContent") %>' 
                        TextMode="MultiLine" Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%#GetStringX( Eval("C_ResContent").ToString(),15)%>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" />
            <asp:CommandField ShowDeleteButton="True" />
            <asp:ButtonField Text="新增" CommandName="Add" />
        </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 />
                                    <asp:TextBox ID="TextBox1" runat="server" Height="150px" TextMode="MultiLine" 
                                        Width="400px"></asp:TextBox>
                                    <br />
                                    <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">增加新文本</asp:LinkButton>
                                    <br />
                                    <br />
                                </td>
							</tr>
						</table>
</asp:Content>
