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


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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">
        
        

                <div class="divTbg">
                    <div class="divTbgL">
                    </div>
                    <div class="divTbgInfo">
                        <div class="divTbgTitle">
                            班级课程成绩管理
                        </div>
                    </div>
                </div>
                <div class="divTbgF">
                </div>
                <div class="divSearchBoth">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navsearchtitle">班级课程搜索</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                        <div class="divSearch">
                            <div id="searchBox" class="clearsearch">
                                <p>
                                    <label for="drpSkyTID">
                                        开课学期：</label>
                                    <asp:DropDownList ID="drpSkyTID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyTID_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </p>
                                <p>
                                    <label for="drpSkyDID">
                                        开课院系：</label>
                                    <asp:DropDownList ID="drpSkyDID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                                        <asp:ListItem Value="">-请选择-</asp:ListItem>
                                    </asp:DropDownList>
                                </p>
                                <p>
                                    <label for="drpSkyPID">
                                        开课专业：</label>
                                    <asp:DropDownList ID="drpSkyPID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged">
                                        <asp:ListItem Value="">-请选择-</asp:ListItem>
                                    </asp:DropDownList>
                                </p>
                                <p>
                                    <label for="drpSkyCID">
                                        开课班级：</label>
                                    <asp:DropDownList ID="drpSkyCID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyCID_SelectedIndexChanged">
                                        <asp:ListItem Value="">-请选择-</asp:ListItem>
                                    </asp:DropDownList>
                                </p>

                                <p>
                                    <label for="txtCourseName">
                                        课程名称：</label>
                                    <asp:TextBox runat="server" ID="txtCourseName"></asp:TextBox>
                                </p>
                                <p>
                                    <label for="txtUserName">
                                        开课教师：</label>
                                    <asp:TextBox runat="server" ID="txtUserName"></asp:TextBox>
                                </p>
                                <p>
                                    <label for="txtUserName">
                                        发布状态：</label>
                                     <asp:DropDownList ID="drpIsFB" runat="server">
                                        <asp:ListItem Value="codeyesno">code</asp:ListItem>
                                    </asp:DropDownList>
                                </p>
                                <p id="searchSubmit">
                                    <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="确认搜索" CssClass="SkyButtonFocus" />
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="divInfo">
                    <div class="divInfoblack">
                        <div class="divInfoTopList">
                            <div class="listLeft">
                                <div class="navtitle">班级课程列表</div>
                            </div>
                            <div class="listRight">
                                <ul>
                                    <li class="navstyle1">
                                        <input type="checkbox" name="chkselect" id="chkselect" onclick="skySelectCheckList();" />
                                        <label for="chkselect">全选</label>
                                    </li>
                                    <li class="navstyle2">
                                        <asp:LinkButton ID="LnkBAdd" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">添加</asp:LinkButton>
                                    </li>
                                    <li class="navstyle3">
                                        <asp:LinkButton ID="LnkBEdit" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">编辑</asp:LinkButton>
                                    </li>
                                    <li class="navstyle4">
                                        <asp:LinkButton ID="LnkBDelete" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">删除</asp:LinkButton>
                                    </li>
                                    <li class="navstyle5">
                                        <asp:LinkButton ID="LnkBExcel" runat="server" OnClick="SkyLnkBAMD_Click">导出</asp:LinkButton>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="divInfo">
                    <div style="font: 2px; line-height: 2px;">
                        &nbsp;
                    </div>
                    <asp:GridView ID="gvInfo" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                        CellPadding="0" CellSpacing="1" GridLines="None" Width="100%" CssClass="tablist"
                        HorizontalAlign="Center"  >
                        <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" CssClass="tablisttitle"></HeaderStyle>
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="序号" />
                            <asp:BoundField DataField="CourseID" HeaderText="课程编号" />
                            <asp:BoundField HeaderText="课程名称" DataField="CourseName" />
                            <asp:BoundField HeaderText="开课学期" DataField="SkyTName" />
                            <asp:BoundField HeaderText="开课院系" DataField="SkyDName" />
                            <asp:BoundField HeaderText="开课班级" DataField="SkyCName" />
                            <asp:BoundField HeaderText="开课教师" DataField="UserName" />
                            <asp:BoundField HeaderText="课程节数" DataField="Festival" />
                            <asp:BoundField HeaderText="课程学时" DataField="CourseHours" />

                            <asp:BoundField DataField="IsEdit" HeaderText="录入成绩" />

                        



                             <asp:TemplateField HeaderText="成绩管理">
                                <ItemTemplate>
                                    <%#UsToolArtUrl("/admin/score/classscoreinput.aspx" +"?id="+Eval("id").ToString()+"&skyCID="+Eval("skyCID").ToString(), "[成绩管理]",pDefault.sSize)%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="成绩排序">
                                <ItemTemplate>
                                    <%#UsToolArtUrl("/admin/score/classscoreorder.aspx" +"?id="+Eval("id").ToString(), "[成绩排序]",pDefault.sSize)%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="成绩分析">
                                <ItemTemplate>
                                    <%#UsToolArtUrl("/admin/score/classscoreanalysis.aspx" +"?id="+Eval("id").ToString(), "[成绩分析]",pDefault.sSize)%>
                                </ItemTemplate>
                            </asp:TemplateField>

                            <asp:BoundField DataField="IsCheckName" HeaderText="发布状态" />
                        </Columns>
                    </asp:GridView>

                </div>
                <div class="divInfoColor">
                     
                                <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" OnPageChanged="Pager_PageChanged"
                                    ShowCustomInfoSection="Left" ShowPageIndexBox="Always" ShowPageIndex="False"
                                    CustomInfoHTML="共 <B>%PageCount%</B> 页，当前为第 <B>%CurrentPageIndex%</B> 页，每页 <B>%PageSize%</B> 条"
                                    SubmitButtonText="" FirstPageText="首页" LastPageText="尾页" LayoutType="Table" NextPageText="后一页"
                                    PrevPageText="前一页" ShowMoreButtons="False" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"
                                    CustomInfoTextAlign="Left" HorizontalAlign="Right">
                                </webdiyer:AspNetPager>
                         
                </div>

                <asp:Literal ID="LiteralScript" runat="server" EnableViewState="False"></asp:Literal>
            
    </form>
</body>
</html>
