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

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<%@ Register Src="../UserControls/WinMediaPlayer.ascx" TagName="WinMediaPlayer" TagPrefix="uc1" %>
<!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>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        .hideC
        {
            display: none;
        }
    </style>

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

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

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

</head>
<body>
    <form id="form1" runat="server">
    
    
    <div align="left">
        <table width="100%" bgcolor="white">
            <tr>
                <td align="right">
                    <uc1:WinMediaPlayer ID="WinMediaPlayer" runat="server" Height="50" Width="200" AutoRepeat="False"
                        AutoStart="False" ChangeDisplaySize="False" Visible="False" />
                    <asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" Text="返 回" Visible="False" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvShowWrongQuestion" AllowPaging="True" runat="server" AutoGenerateColumns="False"
        DataKeyNames="Themaid" OnRowDataBound="gvShowWrongQuestion_RowDataBound" OnRowCommand="gvShowWrongQuestion_RowCommand"
        Width="100%">
        <PagerSettings Visible="False" />
        <Columns>
            <asp:TemplateField HeaderText="本次考试错误试题">
                <ItemTemplate>
                    <div width="800px" align="left" style="background-color:#f5f5f5; padding:5px 0px;">
                      
                        <asp:Button ID="btnStudy" runat="server" Text="查看课程内容" ForeColor="Red" Visible="false" />
                    </div>
                    <div width="800px" align="left" style="padding:10px 0px;">
                    <table width="100%" cellpadding="3">
                         <tr>
                                                <td class="exam_r_big_title" valign="top">
                                                    <span class="font_white"> <asp:Label ID="lblCount" runat="server"></asp:Label></span> <span class="exam_font_tip">考题类型：<font class="blue_font">   <asp:Label ID="lblNumber" runat="server"></asp:Label></font></span>
                                                </td>
                                            </tr>
                                            </table>
                        <asp:Label ID="lblTitle" runat="server" Width="800px" CssClass="wrorry_query_title" ></asp:Label>
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblA" runat="server" Width="5%" Font-Size="12px" Text="A."></asp:Label>
                        <asp:Label ID="lblAnswerA" runat="server" Width="90%" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgA" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnA" runat="server" Text="播放" Visible="False" CommandName="a" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblB" runat="server" Width="5%" Font-Size="12px" Text="B."></asp:Label>
                        <asp:Label ID="lblAnswerB" runat="server" Width="90%" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgB" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnB" runat="server" Text="播放" Visible="False" CommandName="b" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblC" runat="server" Width="5%" Font-Size="12px" Visible="False"
                            Text="C."></asp:Label>
                        <asp:Label ID="lblAnswerC" runat="server" Width="90%" Font-Size="12px" Visible="False"></asp:Label>
                        <asp:Image ID="imgC" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnC" runat="server" Text="播放" Visible="False" CommandName="c" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblD" runat="server" Width="5%" Font-Size="12px" Text="D." Visible="False"></asp:Label>
                        <asp:Label ID="lblAnswerD" runat="server" Width="90%" Font-Size="12px" Visible="False"></asp:Label>
                        <asp:Image ID="imgD" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnD" runat="server" Text="播放" Visible="False" CommandName="d" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblE" runat="server" Width="5%" Visible="False" Font-Size="12px"
                            Text="E."></asp:Label>
                        <asp:Label ID="lblAnswerE" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgE" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnE" runat="server" Text="播放" Visible="False" CommandName="e" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblF" runat="server" Width="5%" Visible="False" Font-Size="12px"
                            Text="F."></asp:Label>
                        <asp:Label ID="lblAnswerF" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgF" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnF" runat="server" Text="播放" Visible="False" CommandName="f" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblG" runat="server" Width="5%" Visible="False" Font-Size="12px"
                            Text="G."></asp:Label>
                        <asp:Label ID="lblAnswerG" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgG" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnG" runat="server" Text="播放" Visible="False" CommandName="g" />
                    </div>
                    <div width="800px" align="left" style="padding-top:6px;">
                        <asp:Label ID="lblH" runat="server" Width="5%" Visible="False" Font-Size="12px"
                            Text="H."></asp:Label>
                        <asp:Label ID="lblAnswerH" runat="server" Width="90%" Visible="False" Font-Size="12px"></asp:Label>
                        <asp:Image ID="imgH" runat="server" Height="120" Visible="False" Width="240" />
                        <asp:Button ID="btnH" runat="server" Text="播放" Visible="False" CommandName="h" />
                    </div>
                </ItemTemplate>
                <HeaderStyle ForeColor="Red" HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:BoundField DataField="question" HeaderText="问题" />
            <asp:BoundField DataField="Type" HeaderText="类型" />
        </Columns>
        <EmptyDataTemplate>
            <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
        </EmptyDataTemplate>
        <EmptyDataRowStyle HorizontalAlign="Center" />
    </asp:GridView>
    <div 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>
    </div>
    </form>
</body>

<script type="text/javascript" language="javascript">
    function LockCourse(ID) {
        window.showModalDialog("../Learn/ExamineCourse.aspx?courseid=" + ID, "", "status=no;dialogWidth=1000px;dialogHeight=560px;menu=no;resizeable=yes;scroll=yes;center=yes;edge=raise")
    }        
</script>

</html>
