<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="excelstudentbj01.aspx.cs" Inherits="Us.Web.admin.excel.excelstudentbj01" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %></head>
<body>
    <form id="Form1" method="post" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <Triggers>
                <asp:PostBackTrigger ControlID="btnSubmit" />
            </Triggers>
            <ContentTemplate>
                <div id="tbMain">
                    <div class="divTbg">
                        <div class="divTbgL"></div>
                        <div class="divTbgInfo">
                            <div class="divTbgTitle">学生信息导入导出</div>
                        </div>
                    </div>
                    <div class="divTbgF"></div>
                    <div class="divTNavBG" id="topURL">
                        <ul id="topURLul">
                            <li class="divURLed" id="div1">
                                <div>
                                    <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" />
                                    学生信息</div>
                            </li>
                        </ul>
                    </div>
                    <div id="mypanel">
                        <div id="ddiv1">
                            <div class="divInfo">
                                <div class="divInfoblack">
                                    <div class="divInfoTopList">
                                        <div class="listLeft">
                                            <div class="navtitle">导入导出 </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="divInfo">
                                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tablist">
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">导入/导出 </td>
                                        <td class="tabmanagertr">
                                            <asp:RadioButton ID="radOut" runat="server" Checked="True" GroupName="rad" Text="导出"
                                                AutoPostBack="True" OnCheckedChanged="radOut_CheckedChanged" />
                                            <asp:RadioButton ID="radIn" runat="server" GroupName="rad" Text="导入" AutoPostBack="True"
                                                OnCheckedChanged="radIn_CheckedChanged" />
                                        </td>
                                    </tr>
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">隶属院系 </td>
                                        <td class="tabmanagertr">
                                            <asp:DropDownList ID="drpSkyDID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">隶属专业 </td>
                                        <td class="tabmanagertr">
                                            <asp:DropDownList ID="drpSkyPID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">隶属班级 </td>
                                        <td class="tabmanagertr">
                                            <asp:DropDownList ID="drpSkyCID" runat="server"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr class="tablisttr" runat="server" id="trShow" visible="false">
                                        <td width="100" align="center" class="tablisttitle">选择EXCEL </td>
                                        <td class="tabmanagertr">
                                            <asp:TextBox ID="txtExcelPath" runat="server" Width="339px">/upload/systemplate/studentbj.xls</asp:TextBox>
                                            <a href="#" onclick="SkyOpen('txtExcelPath');">[选择]</a>
                                            <a href="#" onclick="SkyView('txtExcelPath');">[查看]</a>


                                            <a href="/upload/systemplate/studentbj.xls" target="_blank">[高级标准文件下载]</a>
                                            <a href="/upload/systemplate/studentbjdictionary.xls" target="_blank">[需要的数据字典]</a>
                                            <br />
                                            导入要求如下：<br />
                                            1.导入的规则必须满足基本导入规则 2.导入的列的信息需要来自数据字典，您需要下载数据字典填写<br />
                                            <br />
                                            <span style="color: Red">
                                                <asp:Literal ID="LiteralScript" runat="server"></asp:Literal>
                                            </span>

                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="divSave">
                        <asp:Button ID="btnSubmit" runat="server" Text="操作(S)" CssClass="SkyButtonFocus"
                            OnClick="btnSubmit_Click" AccessKey="S" CommandName="save"></asp:Button>

                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
            <ProgressTemplate>
                <div id="divLoading">
                    <img src="/admin/images/loading.gif" />
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </form>
</body>
</html>
