?? records.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> >> 檔案查看&管理</td>
</tr>
<tr><td style="height: 34px">
<span style="cursor:pointer; color:Blue" onclick="showHidden('showandhide')">隱藏顯示輸入界面</span><br />
<span style="color: #cc0000"> 如要添加學生新的年份檔案記錄,請選擇好限制條件后點擊[添加記錄/或跳轉到]按鈕</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">
院系: </span><asp:DropDownList ID="yxlb"
runat="server" AutoPostBack="True" Width="166px">
<asp:ListItem Value="-1">==所有院系==</asp:ListItem>
</asp:DropDownList><span style="color: #0000cc"> 班級年份:</span><asp:DropDownList ID="nf"
runat="server" AutoPostBack="True" Width="81px" AppendDataBoundItems="True">
</asp:DropDownList><span style="color: #0000cc">班級: </span><asp:DropDownList ID="bj"
runat="server" AutoPostBack="True" Width="166px">
<asp:ListItem Value="-1">==所有班級==</asp:ListItem>
</asp:DropDownList><span style="color: #0000cc">
<br />
姓名: </span><asp:DropDownList ID="xmlb"
runat="server" Width="166px">
<asp:ListItem Value="-1">==所有用戶==</asp:ListItem>
</asp:DropDownList><span style="color: #0000cc"> 檔案年份: </span><asp:DropDownList ID="danf" runat="server" Width="113px">
</asp:DropDownList><br />
<span style="color: #0000cc"> </span><input type="button" ID="Button2" value="添加記錄/或跳轉到" onclick="openuserRec()" style="color: #0000cc"/><span style="color: #0000cc">(添加或跳轉以上限制條件指定的記錄,以上<span
style="color: #cc0000">姓名和檔案年份</span>信息必須填寫,不可選擇全部)<br />
</span>
<asp:LinkButton ID="LinkButton1" runat="server">顯示高級查找</asp:LinkButton><span style="color: #0000cc"> <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"> </span><asp:DropDownList ID="zlxx2"
runat="server" Width="244px">
<asp:ListItem Value="-1">全部</asp:ListItem>
</asp:DropDownList><span style="color: #0000ff">
備注 <asp:TextBox ID="bz" runat="server" Width="192px"></asp:TextBox><span style="color: #cc0000">指每條記錄人工加入的說明信息</span><br />
獲獎范圍:</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">
<br />
分值類過濾條件: </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"> </span><asp:DropDownList ID="comp" runat="server">
<asp:ListItem Value="=">等于</asp:ListItem>
<asp:ListItem Value=">=">大于等于</asp:ListItem>
<asp:ListItem Value=">">大于</asp:ListItem>
<asp:ListItem Value="<">小于</asp:ListItem>
<asp:ListItem Value="<>">不等于</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="fz" runat="server" Width="115px"></asp:TextBox>
<span style="color: #cc0000">不填寫此處將不會進行分值類篩選</span><br />
<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">(高級組合查找:本頁所有限制條件都將作為查詢依據) <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 + -