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

<!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 runat="server">
    <title></title>
    <base target="_self">
    </base>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="content-type" content="ie=7" />

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

</head>
<body>
    <form id="form1" runat="server">
    
    <%-----------------------------------提示信息_start--------------------------------%>
    <%-----------------------------------提示信息_end--------------------------------%>
    <%-----------------------------------执照列表信息_start--------------------------------%>
    <input type="text" id="tye" runat="server" style="display:none" />
    <div class="just_align">
    
        <%--<img alt="" src="../images/zj.gif" height="31" width="43" />C#软件工程师&nbsp;  <img alt="" src="../images/zj.gif" height="31" width="43" />项目经理<font color="red">（已获得）</font>--%>
        <%--<asp:Panel ID="PelLicense" runat="server"></asp:Panel>--%>
        <asp:DataList ID="dlLisence" DataKeyField="ID" runat="server" RepeatDirection="Horizontal"
            RepeatColumns="2" OnItemCommand="dlLisence_ItemCommand" ItemStyle-Width="300px"
            OnItemDataBound="dlLisence_ItemDataBound">
            <ItemTemplate>
                <table class="tab_1" border="0" cellpadding="0" cellspacing="0" width="98%">
                    <tr align="left" valign="middle">
                        <td align="left" width="30px">
                            <img alt="" src="../images/zj_shadow.gif" height="31" />
                        </td>
                        <td align="left" valign="middle" width="270px">
                            <asp:LinkButton ID="lbtnLicense" runat="server" Text='<%# Bind("Name") %>' CommandName="license"
                                ForeColor="Black"></asp:LinkButton>
                            <asp:Image ID="ImageOK" runat="server" ImageUrl="~/Images/ok.gif" 
                                Visible="False" />
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Left" Wrap="false" BackColor="White" />
        </asp:DataList>
    </div>
    <%-----------------------------------执照列表信息_end--------------------------------%>
    <%-----------------------------------执照相关信息_start--------------------------------%>
    <div class="just_align" style="border: none; background: none; text-align: left;">
    <a href='LicenseInfo.aspx?id=<%=Request.QueryString["userid"] %>'>查看更多</a>
    
        <table style="background-position: left;" cellpadding="0" cellspacing="0" width="100%">
            <tr style="border: none; background-color: none; display: none;">
                <td class="le_title_01">
                    <asp:Label ID="lblA" runat="server" Text="Label" CssClass="lbl_index"></asp:Label>
                </td>
            </tr>
            <tr style="background-color: #efefef; font-size: 12px; font-weight: bold;">
                <td>
                    <%--<asp:GridView ID="gvLicenseAndAbility" runat="server" DataKeyNames="ID" 
            AutoGenerateColumns="False" onrowdatabound="gvLicenseAndAbility_RowDataBound">
            <Columns>
                   <asp:TemplateField HeaderText="能力课程信息">
                         <ItemTemplate>
                         <table>
                         <tr>
                         <td>
                             <asp:Label ID="lblAbility" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                         </td>
                         <td>--%>
                    <asp:GridView ID="gvCourseAndExam" runat="server" SkinID="row_gview" AutoGenerateColumns="False"
                        OnRowCommand="gvCourseAndExam_RowCommand" DataKeyNames="CourseID,ExamsetID,AbilityID,licenseid"
                        BorderStyle="Solid" BorderColor="#cccccc" BorderWidth="1px" OnRowDataBound="gvCourseAndExam_RowDataBound"
                        BackColor="White">
                        <PagerSettings Visible="False" />
                        <Columns>
                            <asp:BoundField DataField="AbilityName" HeaderText="能力" />
                            <asp:BoundField DataField="coursename" HeaderText="课程" />
                            <asp:TemplateField HeaderText="学习进度">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# GetStudyProgress(Eval("StandardTime").ToString(),Eval("totaltime").ToString()) %>'
                                        ForeColor="OrangeRed"></asp:Label>
                                    <asp:Label ID="lblStandardTime" runat="server" Visible="false" Text='<%# Eval("StandardTime").ToString() %>'></asp:Label>
                                    <asp:Label ID="lblTotalTime" runat="server" Visible="false" Text='<%# Eval("totaltime").ToString() %>'></asp:Label>
                                    <asp:Label ID="lblExamSetId" runat="server" Visible="false" Text='<%# Eval("examsetid").ToString() %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="成绩">
                                <ItemTemplate>
                                    <asp:Label ID="lblExamMark" runat="server" Text='<%# GetMark(Eval("exammark").ToString()) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="是否通过">
                                <ItemTemplate>
                                    <asp:Label ID="lblIsYN" runat="server" Text='<%# GetIsYes(Eval("StandardTime").ToString(),Eval("totaltime").ToString(),Eval("exammark").ToString()) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--<asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnExam" CommandName="exam" runat="server">考试</asp:LinkButton>
                                &nbsp;<asp:LinkButton
                                    ID="lbtnStudy" CommandName="study" runat="server">学习</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>--%>
                        </Columns>
                        <EmptyDataTemplate>
                            <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
                        </EmptyDataTemplate>
                        <EmptyDataRowStyle HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    <%--<asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnExam" CommandName="exam" runat="server">考试</asp:LinkButton>
                                &nbsp;<asp:LinkButton
                                    ID="lbtnStudy" CommandName="study" runat="server">学习</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>--%>
    </form>
</body>
</html>
