<%@ Page language="c#" Codebehind="infopath.aspx.cs" AutoEventWireup="false" EnableViewState="true" EnableEventValidation="false" Inherits="StarSuitWSYW.infopath.infopath" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="Css.ascx" %>
<%@ Register src="ExcelImport.ascx" tagname="ExcelImport" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD runat="server">
		<title>昕友管理中心</title>
		<script language="javascript" src="../js/JScript.js"></script>
		<script src="../js/jscalendar.js" type="text/javascript"></script>

	</HEAD>
	<body >
		<form id="Form1"  runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE width="100%" border="0">
				<TR class="WsdnOrgTitle1">
					<TD width="50%" colSpan="2">
						<asp:label id="lD2E91AA1D" runat="server" Font-Bold="True">InfoPath服务器 管理中心</asp:label><asp:label id="l06243f5BD" runat="server" ForeColor="Red"></asp:label>
					</TD>
					<TD colSpan="2">
					</TD>
				</TR>
				<TR class="WsdnOrgInfo" height=10 >
					<TD colSpan="2" >
						<asp:textbox id="lDD1BB2C29" runat="server" Width="120px"></asp:textbox>
						<asp:button class="buttons"  id="lADB27" runat="server" Width="62px" Text="搜索"></asp:button>
						<asp:button class="buttons"  id="l5B5D7DA5E" runat="server" Width="65px" Text="时段搜索↓" 
                            onclick="Bttime_Click1"></asp:button>
						<asp:button class="buttons"  id="lE268D5F1A" runat="server" Width="65px" Text="精确搜索↓"></asp:button>
						<asp:radiobuttonlist  Visible=false id="l80B3943B9" runat="server"  RepeatColumns="2" AutoPostBack="True">
							<asp:ListItem Value="模糊搜索" Selected="True">模糊搜索</asp:ListItem>
							<asp:ListItem Value="筛选搜索">筛选搜索</asp:ListItem>
						</asp:radiobuttonlist>
						<br><asp:label id="l8D37E" runat="server" Visible="False">精确搜索：</asp:label><asp:textbox id="lCEB5211D8" runat="server" Width="80px" Visible="False"></asp:textbox><asp:dropdownlist id="lF6A44f1A6" runat="server" Width="80px" Visible="False"></asp:dropdownlist>
						<br><asp:label id="l36552" runat="server" Visible="False">从</asp:label><asp:textbox id="lCD3B43040"  onclick="new Calendar().show(this);"  runat="server" Width="80px" Visible="False"></asp:textbox><asp:label id="lFC543b985" runat="server" Visible="False">到</asp:label><asp:textbox id="lC91EC1728" onclick="new Calendar().show(this);"  runat="server" Width="80px" Visible="False"></asp:textbox><asp:dropdownlist id="l151A5" runat="server" Width="80px" Visible="False"></asp:dropdownlist>
						</TD>
					<TD colSpan="2" valign=top><FONT face="宋体">
                        <asp:Button class="buttons" ID="lC6B9B18FE" runat="server" onclick="btnAdd_Click" Text="添加" />
                        <asp:Button class="buttons" ID="l2D643ccAB" runat="server" onclick="btnDel_Click" Text="删除" />
							<asp:Button class="buttons" ID="lF23A7" runat="server" onclick="btnPrint_Click" 
                            Text="打印" />
							<asp:Button class="buttons" ID="lA17F3A70D" runat="server" 
                            Text="输出" onclick="btnExport_Click" />
							<asp:Button class="buttons" ID="l65B4e0fBA" runat="server" 
                            Text="输入" onclick="btnImport_Click" />
							<asp:Button class="buttons" ID="l4E02CB0DE" runat="server" 
                            Text="刷新" onclick="btnRefresh_Click" />
                            <asp:DropDownList ID="ddlReport" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddlReport_SelectedIndexChanged" >
            <asp:ListItem>生成文件</asp:ListItem>
            <asp:ListItem>Excel</asp:ListItem>
            <asp:ListItem>Word</asp:ListItem>
            <asp:ListItem>Html</asp:ListItem>
            <asp:ListItem>PDF</asp:ListItem>
        </asp:DropDownList> 
                        </FONT><asp:label id="ll14316093" runat="server" Visible="False">1</asp:label></TD>
				</TR>
				  <TR class="WsdnOrgInfo1">
	<TD colSpan="4">
	    
        <asp:Panel ID="Panel1" Visible=false runat="server"><uc2:ExcelImport ID="ExcelImport1" runat="server" />
        <br>
        <asp:Button class="buttons" ID="FinishImport" runat="server" onclick="FinishImport_Click" 
            Text="导入Excel文件" /></asp:Panel>
        
	</TD>
  </TR>
				<TR >
					<TD vAlign="top" align="left" colSpan="4"><asp:datagrid id="lF7B417a86" runat="server" Width="100%" AllowSorting="True" AutoGenerateColumns="False"
							AllowPaging="True" PageSize="15">
        <FooterStyle CssClass="WsdnOrgInfo1" ForeColor="White" Font-Bold="True" />
        <PagerStyle CssClass="WsdnOrgInfo1" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedItemStyle CssClass="WsdnOrgInfo1" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle CssClass="WsdnOrgTitle" ForeColor="#ffffff" Font-Bold="True" HorizontalAlign="Left" />
							<Columns>
								<asp:ButtonColumn Text="编辑" CommandName="Select"></asp:ButtonColumn>
								<asp:HyperLinkColumn Text="关联" Target="footnotes" DataNavigateUrlField="自动编号" DataNavigateUrlFormatString="Infofoot.aspx?id={0}"
									HeaderText="关联"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="ID" SortExpression="ID" HeaderText="ID"></asp:BoundColumn>
								<asp:BoundColumn DataField="c1" SortExpression="c1"></asp:BoundColumn>
								<asp:BoundColumn DataField="c2" SortExpression="c2"></asp:BoundColumn>
								<asp:BoundColumn DataField="c3" SortExpression="c3"></asp:BoundColumn>
								<asp:BoundColumn DataField="c4" SortExpression="c4"></asp:BoundColumn>
								<asp:BoundColumn DataField="c26" SortExpression="c26"></asp:BoundColumn>
								<asp:BoundColumn DataField="c27" SortExpression="c27"></asp:BoundColumn>
								<asp:BoundColumn DataField="c28" SortExpression="c28"></asp:BoundColumn>
								<asp:BoundColumn DataField="c29" SortExpression="c29"></asp:BoundColumn>
								<asp:BoundColumn DataField="c30" SortExpression="c30"></asp:BoundColumn>
								<asp:BoundColumn DataField="lu1" SortExpression="lu1"></asp:BoundColumn>
								<asp:BoundColumn DataField="lu2" SortExpression="lu2"></asp:BoundColumn>
								<asp:BoundColumn DataField="lu3" SortExpression="lu3"></asp:BoundColumn>
								<asp:BoundColumn DataField="lu4" SortExpression="lu4"></asp:BoundColumn>
								<asp:BoundColumn DataField="c5" SortExpression="c5"></asp:BoundColumn>
								<asp:BoundColumn DataField="c6" SortExpression="c6"></asp:BoundColumn>
								<asp:BoundColumn DataField="c7" SortExpression="c7"></asp:BoundColumn>
								<asp:BoundColumn DataField="c8" SortExpression="c8"></asp:BoundColumn>
								<asp:BoundColumn DataField="c9" SortExpression="c9"></asp:BoundColumn>
								<asp:BoundColumn DataField="c10" SortExpression="c10"></asp:BoundColumn>
								<asp:BoundColumn DataField="c11" SortExpression="c11"></asp:BoundColumn>
								<asp:BoundColumn DataField="c12" SortExpression="c12"></asp:BoundColumn>
								<asp:BoundColumn DataField="c13" SortExpression="c13"></asp:BoundColumn>
								<asp:BoundColumn DataField="c14" SortExpression="c14"></asp:BoundColumn>
								<asp:BoundColumn DataField="c15" SortExpression="c15"></asp:BoundColumn>
								<asp:BoundColumn DataField="c16" SortExpression="c16"></asp:BoundColumn>
								<asp:BoundColumn DataField="c17" SortExpression="c17"></asp:BoundColumn>
								<asp:BoundColumn DataField="c18" SortExpression="c18"></asp:BoundColumn>
								<asp:BoundColumn DataField="c19" SortExpression="c19"></asp:BoundColumn>
								<asp:BoundColumn DataField="c20" SortExpression="c20"></asp:BoundColumn>
								<asp:BoundColumn DataField="c21" SortExpression="c21"></asp:BoundColumn>
								<asp:BoundColumn DataField="c22" SortExpression="c22"></asp:BoundColumn>
								<asp:BoundColumn DataField="c23" SortExpression="c23"></asp:BoundColumn>
								<asp:BoundColumn DataField="c24" SortExpression="c24"></asp:BoundColumn>
								<asp:BoundColumn DataField="c25" SortExpression="c25"></asp:BoundColumn>
								<asp:BoundColumn DataField="c31" SortExpression="c31"></asp:BoundColumn>
								<asp:BoundColumn DataField="c32" SortExpression="c32"></asp:BoundColumn>
								<asp:BoundColumn DataField="c33" SortExpression="c33"></asp:BoundColumn>
								<asp:BoundColumn DataField="c34" SortExpression="c34"></asp:BoundColumn>
								<asp:BoundColumn DataField="UserName" SortExpression="UserName" HeaderText="录入者" ></asp:BoundColumn>
								<asp:BoundColumn DataField="Lastdate" SortExpression="Lastdate" HeaderText="更新"
									HeaderStyle-Width="40"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="查看"  Visible=false DataNavigateUrlField="自动编号" DataNavigateUrlFormatString="pathview.aspx?id={0}"
									HeaderText="查看"></asp:HyperLinkColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox><asp:TextBox id=TBdelete CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "自动编号"))%>' runat="server" Height="0px" Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:datagrid>
						<asp:label id="l8A763D14D" runat="server">跳至第</asp:label><asp:dropdownlist id="l3B41CC829" runat="server"></asp:dropdownlist><asp:label id="l25C4bcd81" runat="server">页</asp:label><asp:button class="buttons"  id="l3B41CC82" runat="server" Text="确定"></asp:button><FONT face="宋体">&nbsp;
						</FONT>
						<asp:label id="l63F4912B2" runat="server">共 条数据，每页 条</asp:label></TD>
				</TR>
				
			</TABLE>
		</form>
	</body>
</HTML>