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

	</TD>
  </TR>
  
    <TR class="WsdnOrgInfo1">
	<TD>
        <asp:Label ID="dscExcelTempTable" runat="server" Text="模板列表"></asp:Label>
    </TD>
  </TR>
  <TR>
	<TD><asp:GridView ID="GridViewExcelTemp" runat="server" AutoGenerateColumns="False"  AllowPaging=false
            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%"  DataKeyNames="TempID" 
             >
        <Columns>
            <asp:BoundField DataField="TempName" HeaderText="模板名称" />
            <asp:BoundField DataField="rowTitle" HeaderText="分组项" />
             <asp:HyperLinkField DataNavigateUrlFields="TempID" DataNavigateUrlFormatString="../DataGridTemplete/EXTemplete.aspx?TempID={0}" 
                Text="Edit" Target="_blank" />
                       <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>