<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListTemplete_CalColumns.ascx.cs" Inherits="InfoPath.DataGridTemplete.ListTemplete_CalColumns" %>
<TABLE width="100%">
  <TR class="WsdnOrgInfo">
	<TD>
        <asp:Button class="buttons" ID="btnCalColumnsAll" runat="server" Text="全选" onclick="btnCalColumnsAll_Click" />
            &nbsp;<asp:Button class="buttons" ID="btnCalColumnsDelAll" runat="server" Text="删除" 
            onclick="btnCalColumnsDelAll_Click"  />       
	</TD>
  </TR>
  <TR class="WsdnOrgInfo1">
	<TD>
        <asp:Label ID="dscCalColumns" runat="server" Text="汇总字段列表"></asp:Label>
    </TD>
  </TR>
  <TR>
	<TD>
	<asp:GridView ID="GridViewCalColumns" runat="server" AutoGenerateColumns="False"  AllowPaging=false
            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%"  DataKeyNames="ID">
            <Columns>
                <asp:BoundField DataField="calColumn" 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>