MatCodeIn.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:4k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MatCodeIn.aspx.cs" Inherits="MatCode_MatCodeIn" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>EXCEL数据导入</title>
  6.     <base target="_self" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">   
  10.         <table align="center" border="2" bordercolor="#d7d9e5" cellpadding="0" cellspacing="2">
  11.             <tr>
  12.                 <td background="../images/lbg-3.gif" height="19" style="width: 587px">
  13.                     <table border="0" cellpadding="0" cellspacing="0" height="15" width="99%">
  14.                         <tr>
  15.                             <td width="4%">
  16.                                 <div align="left">
  17.                                     <img height="15" src="../Images/dian.bmp" width="16" /></div>
  18.                             </td>
  19.                             <td width="45%">
  20.                                 <p>数据导入</p>
  21.                             </td>
  22.                             <td width="51%">
  23.                                 <div align="right">
  24.                                     <img alt="帮助" height="16" src="../Images/help.jpg" width="16" /></div>
  25.                             </td>
  26.                         </tr>
  27.                     </table>
  28.                 </td>
  29.             </tr>
  30.             <tr>
  31.                 <td height="295" valign="top" style="width: 587px">
  32.                     <p>
  33.                         &nbsp;</p>
  34.                     <table id="Table2" align="center" bgcolor="#808080" border="0" cellpadding="3" cellspacing="1"
  35.                         style="width: 441px; height: 96px" width="441">
  36.                         <tr>
  37.                             <td align="center" bgcolor="#ffffff" colspan="4" height="27" style="height: 27px">
  38.                                 <strong><font color="#3333ff" size="2">
  39.                                     <asp:Label ID="Label4" runat="server">EXCEL数据导入</asp:Label></font></strong></td>
  40.                         </tr>
  41.                         <tr>
  42.                             <td align="right" bgcolor="#cccccc" height="27" style="width: 107px; height: 27px; background-color: gainsboro;">
  43.                                 &nbsp;
  44.                                 <asp:Label ID="Label5" runat="server">选择源数据</asp:Label></td>
  45.                             <td bgcolor="#ffffff" colspan="3" style="height: 27px">
  46.                                 <asp:FileUpload ID="ExcelFile" runat="server" Width="301px" /></td>
  47.                         </tr>
  48.                         <tr>
  49.                             <td align="right" bgcolor="#cccccc" style="width: 107px; height: 18px; background-color: gainsboro;" width="107">
  50.                                 &nbsp;
  51.                                 <asp:Label ID="Label6" runat="server">说 &nbsp;&nbsp;&nbsp;明</asp:Label></td>
  52.                             <td bgcolor="#ffffff" colspan="3" style="height: 18px; color: #ff0000;">
  53.                                 请选择正确格式的Excel文件,将有关信息导入本系统数据库。
  54.                             </td>
  55.                         </tr>
  56.                         <tr>
  57.                             <td align="center" bgcolor="#ffffff" colspan="4">
  58.                                 <asp:ImageButton ID="daoru" runat="server" ImageUrl="~/Images/queding.gif" OnClick="daoru_Click" />&nbsp;<asp:ImageButton
  59.                                     ID="ImageButton1" runat="server" ImageUrl="~/Images/quxiao.gif" OnClientClick="javascript: if(confirm('确认离开此页面吗?')){window.close();}" />
  60.                                 &nbsp;&nbsp;</td>
  61.                         </tr>
  62.                     </table>
  63.                 </td>
  64.             </tr>
  65.         </table>
  66.     </form>
  67. </body>
  68. </html>