📄 listeachcoursestudent.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ListEachCourseStudent.ascx.cs" Inherits="Park.Statisitics.ListEachCourseStudent" targetSchema="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" %>
<%@ Register TagPrefix="Epico" Namespace="Epico.Controls" Assembly="ControlLib" %>
<Epico:Repeater id="CourseList" runat="server">
<ItemTemplate>
<a href=<%#Request.Path+"?"+"CurrentCourseID="+DataBinder.Eval(Container.DataItem,"[CourseID]","{0}")%>>
<%#DataBinder.Eval(Container.DataItem,"[CourseName]","{0}")%>
</a>
</ItemTemplate>
</Epico:Repeater>
<Epico:DataList id="QuartersList" runat="server" cellspacing="0" cellpadding="0">
<itemtemplate>
<tr>
<td colspan="2">
<%# DataBinder.Eval(Container.DataItem,"CourseName")%>
-<%# DataBinder.Eval(Container.DataItem,"ClassName")%>
</td>
</tr>
<tr>
<td>
<Epico:DataGrid id="EachClassStudentList" runat="server" AutoGenerateColumns="False" DataSource=<%# loadData(DataBinder.Eval(Container.DataItem,"ClassID","{0}")) %> BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="4">
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<columns>
<asp:boundcolumn datafield="ID" headertext="学号"></asp:boundcolumn>
<asp:boundcolumn datafield="Name" headertext="姓名"></asp:boundcolumn>
<asp:boundcolumn datafield="BelongingClass" headertext="所属班级"></asp:boundcolumn>
</columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
</Epico:DataGrid>
</td>
</tr>
</itemtemplate>
</Epico:DataList>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -