<%@ page language="C#" autoeventwireup="true" inherits="Exam_UserSelectCourse, App_Web_83cyu5ij" stylesheettheme="Themes" theme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>考试情况</title>

    <script src="../js/calendar.js" type="text/javascript"></script>

    <style>
        html
        {
            overflow-x: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：我的考试 &gt; 课程考试成绩</span>
            </td>
        </tr>
        <tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                    <tr>
                        <td align="left" width="60px">
                            课程形式：
                        </td>
                        <td width="100px">
                            <asp:RadioButton ID="rbtnMust" runat="server" AutoPostBack="True" Checked="True"
                                GroupName="a" OnCheckedChanged="rbtnMust_CheckedChanged" Text="必修" />
                            <asp:RadioButton ID="rbtnNotMust" runat="server" AutoPostBack="True" GroupName="a"
                                OnCheckedChanged="rbtnMust_CheckedChanged" Text="自选" />
                        </td>
                        <td align="left" width="100px">
                            <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click" Visible="False" />
                        </td>
                        <td width="80px">
                            &nbsp;
                        </td>
                        <td align="left">
                            &nbsp;<asp:DropDownList ID="ddlCourseName" runat="server" Visible="False">
                                <asp:ListItem Value="0">全部</asp:ListItem>
                                <asp:ListItem Value="1">通过</asp:ListItem>
                                <asp:ListItem Value="2">未通过</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;<asp:TextBox ID="txtCourseName" runat="server" Width="100%" MaxLength="20"
                                Visible="False"></asp:TextBox>
                        </td>
                        <td align="right">
                            <asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" Text="返 回" Visible="False">
                            </asp:Button>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="margintop5">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <asp:GridView ID="gvAchievement" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                OnRowDataBound="gvAchievement_RowDataBound">
                                <PagerSettings Visible="False" />
                                <Columns>
                                    <asp:TemplateField HeaderText="课程名称">
                                        <ItemTemplate>
                                            <asp:Label ID="lblCourseName" runat="server" Text='<%# Eval("Name") %>' ToolTip="点击查看"></asp:Label></a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="ExamMark" HeaderText="考试成绩">
                                        <ItemStyle ForeColor="Maroon" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
                                    <asp:BoundField DataField="ExamTime" DataFormatString="{0:d}" HeaderText="考试时间" />
                                </Columns>
                                <EmptyDataTemplate>
                                    <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
                                </EmptyDataTemplate>
                                <EmptyDataRowStyle HorizontalAlign="Center" />
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td class="page_bg_left">
                            <cc1:AspNetPager ID="myAspNetPager" runat="server" AlwaysShow="True" CssClass="cut_pager"
                                PageSize="10" FirstPageText="首页&nbsp;&nbsp;" HorizontalAlign="Right" InputBoxStyle="width:20px;"
                                LastPageText="尾页" NextPageText="&nbsp;&nbsp;下一页&nbsp;&nbsp;" NumericButtonTextFormatString="  {0}"
                                OnPageChanging="AspNetPager1_PageChanging" PrevPageText="上一页" ShowCustomInfoSection="Left"
                                CustomInfoTextAlign="Left" ShowInputBox="Always">
                            </cc1:AspNetPager>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
