<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListTemplete_RowKeys.ascx.cs" Inherits="InfoPath.DataGridTemplete.ListTemplete_RowKeys" %>
<TABLE width="100%">
  <TR class="WsdnOrgInfo">
	<TD>
        <asp:Button class="buttons" ID="btnRowKeysAll" runat="server" Text="全选" onclick="btnRowKeysAll_Click" 
              />
            &nbsp;<asp:Button class="buttons" ID="btnRowKeysDelAll" runat="server" Text="删除" 
            onclick="btnRowKeysDelAll_Click"  />       

	</TD>
  </TR>
  
    <TR class="WsdnOrgInfo1">
	<TD>
        <asp:Label ID="dscRowKeys" runat="server" Text="关键字段列表"></asp:Label>
    </TD>
  </TR>
  <TR>
	<TD><asp:GridView ID="GridViewRowKeys" runat="server" AutoGenerateColumns="False"  AllowPaging=false
            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%"  DataKeyNames="ID" >
        <Columns>
            <asp:BoundField DataField="rowKey" HeaderText="关键字段" />
            <asp:BoundField DataField="Ord" HeaderText="排序" />
            <asp:TemplateField ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="CKB" runat="server" />
                                    </ItemTemplate>
                                    <ItemStyle Width="30px" HorizontalAlign="Center" />
            </asp:TemplateField> 
        </Columns>
        <RowStyle CssClass="WsdnOrgInfo" ForeColor="#000000" />
        <FooterStyle CssClass="WsdnOrgInfo1" ForeColor="White" Font-Bold="True" />
        <PagerStyle CssClass="WsdnOrgInfo1" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedRowStyle CssClass="WsdnOrgInfo1" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle CssClass="WsdnOrgTitle" Font-Bold="True" HorizontalAlign="Left" />
        <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </TD>
  </TR>

  </TABLE>