<%@ Page language="c#" Codebehind="infopath5.aspx.cs" AutoEventWireup="false" Inherits="StarSuitWSYW.infopath.infopath5" trace="False" smartNavigation="True"%>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTM"随心所欲"自定义信息管理中心</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body style="WORD-BREAK: break-all" leftMargin="1" topMargin="1" rightMargin="1">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE width="100%" border="1">
				<TR class="WsdnOrgInfo">
					<TD width="35%" colSpan="2">
						<P><asp:label id="Label3" runat="server" Font-Bold="True">InfoPath服务器 管理中心</asp:label><asp:label id="Msg" runat="server" ForeColor="Red"></asp:label><asp:button id="Bttm" runat="server" Text="条码"></asp:button></P>
					</TD>
					<TD colSpan="2">&nbsp;</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colSpan="2">
						<P>&nbsp;模糊搜索：
							P>&nbsp;模糊搜索：
							<asp:textbox id="Txtsearch" runat="server" Width="112px"></asp:textbox><asp:button id="Btsearch" runat="server" Text="搜索"></asp:button><asp:button id="Bttime" runat="server" Text="时↓" Width="30px"></asp:button><asp:button id="BtSrh" runat="server" Text="精↓" Width="30px"></asp:button></P>
						<P><asp:label id="Lfrom" runat="server" Visible="False">从</asp:label><asp:textbox id="Tfrom" runat="server" Width="80px" Visible="False"></asp:textbox><asp:label id="Lto" runat="server" Visible="False">到</asp:label><asp:textbox id="Tto" runat="server" Width="80px" Visible="False" ToolTip="限制" Enabled="true"></asp:textbox><asp:dropdownlist id="Ddtime" runat="server" Width="80px" Visible="False"></asp:dropdownlist><asp:label id="Lsrh" runat="server" Visible="False">精确搜索：</asp:label><asp:textbox id="Tsrh" runat="server" Width="80px" Visible="False"></asp:textbox><asp:dropdownlist id="Dsrh" runat="server" Width="80px" Visible="False"></asp:dropdownlist></P>
					</TD>
					<TD colSpan="2"><asp:imagebutton id="ImBtAdd" runat="server" ToolTip="请您务必取消对本站点的弹出窗限制,否则将无法打开窗口。" ImageUrl="../pic/new.png"></asp:imagebutton>添加&nbsp;
						<asp:imagebutton id="BtnDelete" runat="server" ToolTip="删除资料" ImageUrl="../pic/delete.png"></asp:imagebutton>删除&nbsp;
						<asp:imagebutton id="btPrint" runat="server" ToolTip="打印页面" ImageUrl="../pic/print_preview.png"></asp:imagebutton>打印&nbsp;
						<asp:imagebutton id="Btoutput" runat="server" ImageUrl="../pic/export.png"></asp:imagebutton>高级&nbsp;
						<asp:imagebutton id="btword" runat="server" ImageUrl="../pic/import.png"></asp:imagebutton>输出&nbsp;
						<asp:imagebutton id="Btfresh" runat="server" ToolTip="刷新" ImageUrl="../pic/refresh.png"></asp:imagebutton>刷新
						<asp:imagebutton id="btHelp" runat="server" ToolTip="动态帮助，您可以自行编写帮助主题。" ImageUrl="../pic/help.png"></asp:imagebutton>帮助&nbsp;
						<asp:label id="thisid" runat="server" Visible="False">1</asp:label></TD>
				</TR>
				<TR>
					<TD vAlign="top" align="left" colSpan="4"><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False"
							AllowSorting="True">
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:ButtonColumn Text="编辑" CommandName="Select"></asp:ButtonColumn>
								<asp:HyperLinkColumn Text="明细" DataNavigateUrlField="自动编号" DataNavigateUrlFormatString="Infopath5.aspx?Detailid={0}"
									HeaderText="从表"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="自动编号" SortExpression="自动编号" HeaderText="编号"></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="填写时间"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="查看" DataNavigateUrlField="自动编号" DataNavigateUrlFormatString="pathview.aspx?id={0}"
									HeaderText="查看"></asp:HyperLinkColumn>
								<asp:HyperLinkColumn Text="关联" Target="footnotes" DataNavigateUrlField="自动编号" DataNavigateUrlFormatString="Infofoot.aspx?id={0}"
									HeaderText="关联"></asp:HyperLinkColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "自动编号"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid><asp:label id="Label4" runat="server">跳至第</asp:label><asp:dropdownlist id="Tbpage" runat="server"></asp:dropdownlist><asp:label id="Label5" runat="server">页</asp:label><asp:button id="Btpage" runat="server" Text="确定"></asp:button>&nbsp;
						<asp:label id="Lgrid" runat="server">共 条数据，每页 条</asp:label></TD>
				</TR>
				<TR>
					<TD colSpan="4"><asp:label id="Label1" runat="server">从表：</asp:label></TD>
				</TR>
				<TR>
					<TD class="back2" align="right" colSpan="4"><asp:datagrid id="Datagrid2" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False"
							DataKeyField="id" ShowFooter="True">
							<FooterStyle Font-Bold="True" HorizontalAlign="Center"></FooterStyle>
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="id" HeaderText="id"></asp:BoundColumn>
								<asp:BoundColumn DataField="d1"></asp:BoundColumn>
								<asp:BoundColumn DataField="d2"></asp:BoundColumn>
								<asp:BoundColumn DataField="d3"></asp:BoundColumn>
								<asp:BoundColumn DataField="d4"></asp:BoundColumn>
								<asp:BoundColumn DataField="d5"></asp:BoundColumn>
								<asp:BoundColumn DataField="d6"></asp:BoundColumn>
								<asp:BoundColumn DataField="d7"></asp:BoundColumn>
								<asp:BoundColumn DataField="d8"></asp:BoundColumn>
								<asp:BoundColumn DataField="d9"></asp:BoundColumn>
								<asp:BoundColumn DataField="d10"></asp:BoundColumn>
								<asp:BoundColumn DataField="d11"></asp:BoundColumn>
								<asp:BoundColumn DataField="d12"></asp:BoundColumn>
								<asp:BoundColumn DataField="d13"></asp:BoundColumn>
								<asp:BoundColumn DataField="d14"></asp:BoundColumn>
								<asp:BoundColumn DataField="d15"></asp:BoundColumn>
								<asp:BoundColumn DataField="d16"></asp:BoundColumn>
								<asp:BoundColumn DataField="d17"></asp:BoundColumn>
								<asp:BoundColumn DataField="d18"></asp:BoundColumn>
								<asp:BoundColumn DataField="d19"></asp:BoundColumn>
								<asp:BoundColumn DataField="d20"></asp:BoundColumn>
								<asp:BoundColumn DataField="d21"></asp:BoundColumn>
								<asp:BoundColumn DataField="d22"></asp:BoundColumn>
								<asp:BoundColumn DataField="d23"></asp:BoundColumn>
								<asp:BoundColumn DataField="d24"></asp:BoundColumn>
								<asp:BoundColumn DataField="d25"></asp:BoundColumn>
								<asp:BoundColumn DataField="d26"></asp:BoundColumn>
								<asp:BoundColumn DataField="d27"></asp:BoundColumn>
								<asp:BoundColumn DataField="d28"></asp:BoundColumn>
								<asp:BoundColumn DataField="d29"></asp:BoundColumn>
								<asp:BoundColumn DataField="d30"></asp:BoundColumn>
								<asp:BoundColumn DataField="d31"></asp:BoundColumn>
								<asp:BoundColumn DataField="d32"></asp:BoundColumn>
								<asp:ButtonColumn Text="编辑" CommandName="Select">
									<HeaderStyle Width="20px"></HeaderStyle>
								</asp:ButtonColumn>
								<asp:HyperLinkColumn Text="关联" Target="footnotes" DataNavigateUrlField="id" DataNavigateUrlFormatString="Infofoot.aspx?id={0}&amp;t='D'"
									HeaderText="关联"></asp:HyperLinkColumn>
								<asp:ButtonColumn Text="删除" CommandName="Delete">
									<HeaderStyle Width="60px"></HeaderStyle>
								</asp:ButtonColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colSpan="4"><asp:label id="Label2" runat="server">添加从表资料，当前主表编号：</asp:label><asp:label id="Mstid" runat="server"></asp:label></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld1" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d1" runat="server"></asp:textbox><A title="选择" href="javascript:doselectInfoDetail();"><IMG id="IMG5" height="18" src="../image/16X16/app.gif" width="19" align="absMiddle"
								border="0" runat="server"></A></TD>
					<TD width="20%"><asp:label id="Ld2" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d2" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld3" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d3" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld4" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d4" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld5" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d5" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld6" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d6" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld7" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d7" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld8" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d8" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld9" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d9" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld10" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d10" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld11" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d11" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld12" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d12" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld13" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d13" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld14" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d14" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld15" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d15" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld16" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d16" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld17" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d17" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld18" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d18" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld19" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d19" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld20" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d20" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld21" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d21" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld22" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d22" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld23" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d23" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld24" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d24" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld25" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d25" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld26" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d26" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld27" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d27" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld28" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d28" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"><asp:label id="Ld29" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d29" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld30" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d30" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD width="20%"><asp:label id="Ld31" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d31" runat="server"></asp:textbox></TD>
					<TD width="20%"><asp:label id="Ld32" runat="server"></asp:label></TD>
					<TD><asp:textbox id="d32" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD width="20%"></TD>
					<TD><asp:button id="BtMD" runat="server" Text="添加" Width="152px"></asp:button></TD>
					<TD width="20%"><asp:button id="Btexport" runat="server" Text="Word输出" Visible="False"></asp:button></TD>
					<TD><asp:button id="Button2" runat="server" Text="自动计算"></asp:button></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
