⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 records.aspx

📁 本系统内置的测评模块可以根据学生的学习成绩以及往日的综合表现对学生的综合素质分进行自动评分操作
💻 ASPX
字号:
<%@ Page AutoEventWireup="false" Inherits="px.records" %>

<!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="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
     <script type="text/jscript" src="../js/prototype.js"></script>
    <script type="text/javascript">
         function openuserRec()
         {
         
         var xh=$('xmlb').value
        var nf=$('danf').value
         window.open("../template.aspx?studentid="+xh+"&year="+nf,"EditWindow")
         }
         
          function showHidden(id)
         {
         
        if ($(id).style.display!="none")
                {
                $(id).style.display="none"
        }else
        {
         $(id).style.display="block"
        }
         }
       
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div><br />
    <table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody>
        <tr>
            <td style="height: 34px"><a href="#">系统首页</a> &gt;&gt; 档案查看&amp;管理</td>
        </tr>
<tr><td style="height: 34px">
   <span style="cursor:pointer; color:Blue" onclick="showHidden('showandhide')">隐藏显示输入界面</span><br /> 
    <span style="color: #cc0000">&nbsp; &nbsp; &nbsp; &nbsp; 如要添加学生新的年份档案记录,请选择好限制条件后点击[添加记录/或跳转到]按钮</span></td></tr></tbody></table>
        <table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
                <tr>
                    <td style="height: 100%; width: 668px;"><div id="showandhide" style="display:block;height: auto">
                        <span style="color: #0000cc">
                        院系:&nbsp;</span><asp:DropDownList ID="yxlb"
                            runat="server" AutoPostBack="True" Width="166px">
                            <asp:ListItem Value="-1">==所有院系==</asp:ListItem>
                        </asp:DropDownList><span style="color: #0000cc">&nbsp;班级年份:</span><asp:DropDownList ID="nf"
                            runat="server" AutoPostBack="True" Width="81px" AppendDataBoundItems="True">
                        </asp:DropDownList><span style="color: #0000cc">班级:&nbsp;</span><asp:DropDownList ID="bj"
                            runat="server" AutoPostBack="True" Width="166px">
                            <asp:ListItem Value="-1">==所有班级==</asp:ListItem>
                        </asp:DropDownList><span style="color: #0000cc">
                            &nbsp;&nbsp;<br />
                            &nbsp;&nbsp; &nbsp; &nbsp;姓名:&nbsp;</span><asp:DropDownList ID="xmlb"
                            runat="server" Width="166px">
                                <asp:ListItem Value="-1">==所有用户==</asp:ListItem>
                            </asp:DropDownList><span style="color: #0000cc"> 档案年份:&nbsp;</span><asp:DropDownList ID="danf" runat="server" Width="113px">
                        </asp:DropDownList><br />
                        <span style="color: #0000cc">&nbsp; &nbsp;</span><input type="button" ID="Button2"  value="添加记录/或跳转到" onclick="openuserRec()" style="color: #0000cc"/><span style="color: #0000cc">(添加或跳转以上限制条件指定的记录,以上<span
                                style="color: #cc0000">姓名和档案年份</span>信息必须填写,不可选择全部)<br />
                        &nbsp; </span>
                        <asp:LinkButton ID="LinkButton1" runat="server">显示高级查找</asp:LinkButton><span style="color: #0000cc">&nbsp;<br />
                        </span>
                        <asp:Panel ID="Panel1" runat="server" Height="100%" Width="100%" Visible="False">
                            <span style="color: #0000ff">子类信息:</span><asp:DropDownList ID="zlxx"
                            runat="server" AutoPostBack="True" Width="166px">
                            </asp:DropDownList><span style="color: #0000ff">&nbsp;</span><asp:DropDownList ID="zlxx2"
                            runat="server" Width="244px">
                                <asp:ListItem Value="-1">全部</asp:ListItem>
                            </asp:DropDownList><span style="color: #0000ff">
                            &nbsp; 备注 &nbsp;<asp:TextBox ID="bz" runat="server" Width="192px"></asp:TextBox><span style="color: #cc0000">指每条记录人工加入的说明信息</span><br />
                        &nbsp; &nbsp;&nbsp; 获奖范围:</span><asp:DropDownList ID="hjfw" runat="server" Width="99px">
                        </asp:DropDownList><span style="color: #0000ff">获奖等级:</span><asp:DropDownList ID="hjdj" runat="server" Width="99px">
                        </asp:DropDownList><span style="color: #0000ff">
                        &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />
                        &nbsp;&nbsp; &nbsp; 分值类过滤条件:&nbsp;</span><asp:DropDownList ID="cjfl" runat="server">
                                <asp:ListItem Value="1">品行成绩分值</asp:ListItem>
                                <asp:ListItem Value="2">成绩分值</asp:ListItem>
                                <asp:ListItem Value="3">最终成绩</asp:ListItem>
                            </asp:DropDownList><span style="color: #0000ff">&nbsp;</span><asp:DropDownList ID="comp" runat="server">
                                <asp:ListItem Value="=">等于</asp:ListItem>
                                <asp:ListItem Value="&gt;=">大于等于</asp:ListItem>
                                <asp:ListItem Value="&gt;">大于</asp:ListItem>
                                <asp:ListItem Value="&lt;">小于</asp:ListItem>
                                <asp:ListItem Value="&lt;&gt;">不等于</asp:ListItem>
                            </asp:DropDownList>
                            <asp:TextBox ID="fz" runat="server" Width="115px"></asp:TextBox>
                            <span style="color: #cc0000">不填写此处将不会进行分值类筛选</span><br />
                            &nbsp; &nbsp; &nbsp;<span style="color: #0000ff">姓名:</span><asp:TextBox ID="xm" runat="server" Width="115px"></asp:TextBox><span style="color: #0000ff"> </span>:
                            <span style="color: #cc0000"></span><br />
                            <asp:Button ID="Button1" runat="server" CausesValidation="False" Text="查找档案信息" />
                            <span style="color: #0000ff">(高级组合查找:本页所有限制条件都将作为查询依据)&nbsp;<br />
                            </span>
                            <asp:LinkButton ID="LinkButton2" runat="server">隐藏高级查找</asp:LinkButton></asp:Panel>
                        <br />
                        </div></td>
                    
               </tr>
            </tbody>
        </table>
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" Width="100%" cssclass="tableborder" BackImageUrl="~/images/bg_list.gif" AllowPaging="True" PageSize="20" CellPadding="1" CellSpacing="1" EnableViewState="False" >
            <EmptyDataTemplate>
                暂时没有数据,请先新建。
            </EmptyDataTemplate>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="name" HeaderText="学生姓名">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="Expr1" HeaderText="学号">
                    <ItemStyle Width="50px" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="档案年份">
                    <ItemStyle Width="100px" />
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server"><%#shownf(container.dataitem("year"))%></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="yxname" HeaderText="所在院系">
                    <ItemStyle Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="zyname" HeaderText="专业">
                    <ItemStyle Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="mark" HeaderText="品行分值">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="cjfz" HeaderText="学习成绩">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="final" HeaderText="本期总分">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="查看/修改">
                    <ItemStyle Width="100px" />
                    <ItemTemplate>
                        <%#checkpower(Container.DataItem("Expr1").ToString, Container.DataItem("year").ToString)%> 
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" CssClass="altbg2" HorizontalAlign="Center" VerticalAlign="Middle" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="Black" HorizontalAlign="Center" />
            <HeaderStyle CssClass="header" ForeColor="White" Height="30px" />
            <AlternatingRowStyle BackColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />
        </asp:GridView></div>
    </form>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -