<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Student_Excel_in.aspx.cs" Inherits="RPWEB.Manage.Student_Excel_in"  EnableEventValidation="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="../Web_CSS/WebCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Jquery.js"></script>
    <script type="text/javascript" src="../JS/ManageWeb.js"></script>
    
    <script language="javascript" type="text/javascript">
// <!CDATA[

function check() {
var k=/\S+\.[xls]/;
if(!k.test(document.getElementById("fileId").value))
{
    alert("只能使用xls格式的文件");
    return false;
}
return true;
}

// ]]>
</script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
           <div class="Body_Title">
            <a href=ClassList.aspx>学生管理</a> >>学生导入</div>
               <table cellpadding="3" cellspacing="1" class="Admin_Table">
                    <thead>
                        <tr class="Admin_Table_Title">
                            <th style="width: 20%;">
                               成绩导入导出
                            </th>
                        </tr>
                    </thead>

                <tr>

                <td>
            
    <p>
        <a href="../down/ClassStudentMod.xls">导入模板下载</a><br />
        <asp:FileUpload ID="fileId" runat="server" /><asp:Button ID="Button1" runat="server" Text="导入" OnClientClick="return check()" onclick="Button1_Click" /></p>
                            </td>                </tr>

                </table>
                
    </div>
    </form>
</body>
</html>
