admin_File.aspx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:2k
源码类别:

行业应用

开发平台:

JavaScript

  1. <%@ page language="C#" autoeventwireup="true" inherits="Admin_admin_File, App_Web_jinvcodt" %>
  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>无标题页</title>
  6.     
  7.     <script src="inc/admin.js" type="text/javascript"></script>
  8.     <script src="inc/showpage.js" type="text/javascript"></script>
  9.     <link href="images/css.css" type="text/css" rel="stylesheet" />
  10.     <link href="images/admin_file_css.css" type="text/css" rel="stylesheet" />
  11. </head>
  12. <body>
  13.     <form id="form1" runat="server">
  14.      <h1>
  15.         学生档案excel导入</h1>
  16.     <h1>
  17.         <iframe name="I1" src="" height="0" width="0" border="0" frameborder="0">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe>
  18.         &nbsp;</h1>
  19.     <script language="JavaScript">
  20. function checkset(){}
  21. function numcheck(strtype){
  22. //document.all.types.value=strtype;
  23. //document.all.I1.style.width="100%";
  24. //document.all.I1.style.height="100px";
  25. } </script>
  26.     <script language="JavaScript">
  27. function checkpro(){
  28. }
  29. function checkcla(){
  30. }
  31.     </script>
  32.    <div style="text-align:center">
  33.        <asp:Panel ID="Panel1" runat="server">
  34.         <table border="0" cellspacing="0" cellpadding="0" style=" text-align:left">
  35.     <tr>
  36.     <td> Excle文件:</td><td>  <asp:FileUpload ID="FileUpload1" runat="server" /></td>
  37.     </tr>
  38.     <%-- <tr>
  39.     <td>工作表名:</td><td><asp:TextBox ID="txtName" runat="server"> 
  40.     </asp:TextBox></td>
  41.     </tr>--%>
  42.       </tr>
  43.     <tr>
  44.     <td colspan="2" style="text-align:center">   
  45.             <asp:Button ID="btn上传" runat="server"
  46.            Text="上传Excel" onclick="btn上传_Click" /></td>
  47.     </tr>
  48.    </table>
  49.        </asp:Panel>
  50.   
  51.        <asp:Panel ID="Panel2" runat="server" Visible="False">
  52.          上传成功,请选择要导入的工作簿名:<asp:DropDownList ID="ddlGouZuo" runat="server">
  53.            </asp:DropDownList>
  54.            <asp:Button ID="btnDaoRu" runat="server" Text="导入数据" onclick="btnDaoRu_Click" />
  55.        </asp:Panel>
  56.    </div>
  57.     </form>
  58. </body>
  59. </html>