<%@ Page language="c#" Codebehind="upload.aspx.cs" AutoEventWireup="True" Inherits="health.aspx.upload" %>

<HTML>
	<HEAD>
		<title>批量上传体检数据</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<LINK href="../../css/style.css" type="text/css" rel="stylesheet">
		<script language="JavaScript" src="../../js/Calendar.js" type="text/javascript"></script>
		<script language="JavaScript" src="../../js/common.js" type="text/javascript"></script>
		
	</HEAD>
	<body>
		<form id="form1" runat="server"><br><br>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="80%" border="0" align=center>
				<TR>
					<TD align="center"><FONT face="宋体"><STRONG><FONT face="方正姚体" size="5">批量上传体检数据</FONT></STRONG>
							<TABLE class="sys_grid" id="Table2" cellSpacing="3" cellPadding="0" width="100%" border="1">
								<TR>
									<TD>
										<table width="100%">
											<tr>
												<td style="font-weight: bold; color: black">注意：</td>
											</tr>
											<tr>
												<td>
                                                    <asp:Label ID="Label1" runat="server" Text="1.请在上传数据前，先做好数据库备份，以便导入出错后能恢复到导入前的数据状态。 "></asp:Label></td>
											</tr>
											<tr>
												<td>
                                                    2.上传的XLS文件必须小于4M</td>
											</tr>
											<tr>
												<td>
                                                    3.<asp:HyperLink ID="HyperLink1" runat="server" Font-Overline="False" Font-Strikeout="False"
                                                        Font-Underline="True" ForeColor="Red" NavigateUrl="../../template/体检模板.xls">下载体检数据模板</asp:HyperLink>
                                                    <asp:Label ID="Label3" runat="server" Text="(参照模板提供格式整理数据并导入)"></asp:Label></td>
											</tr>
										</table>
									</TD>
								</TR>
								<TR>
									<TD><INPUT id="fileup" style="WIDTH: 60%" type="file" size="50" name="fileup" runat="server" class="sys_editbox">&nbsp;<asp:button id="Button1" runat="server" CssClass="sys_button" Text="上传EXCEL" onclick="Button1_Click"></asp:button>
                                        <asp:Button ID="Button2" runat="server" CssClass="sys_button" OnClick="Button2_Click"
                                            Text="上传CSV" Visible="False" /></TD>
								</TR>
							</TABLE>
						</FONT>
										<asp:Label id="Label2" runat="server" ForeColor="Red"></asp:Label></TD>
				</TR>

			</TABLE>
		</form>
	</body>
</HTML>
