<%@ Page Language="c#" CodeBehind="EvalTeacher.aspx.cs" AutoEventWireup="True" Inherits="SWTraining.Admin.EvalTeacher"
    ValidateRequest="false" Title="系统设置-评价管理" %>

<%@ Import Namespace="SWTraining" %>
<%@ Register src="../UserCol/SimpleCode.ascx" tagname="SimpleCode" 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 runat="server">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="FormPost" method="post" runat="server">
    <div style="width: 623px; margin-left: auto; margin-right: auto">
        <div class="tool_Search" style="width: 611px;">
            员工：<asp:DropDownList ID="ddlUsers" DataTextField="TrueName" DataValueField="UserID"
                runat="server">
            </asp:DropDownList>
                        <uc1:SimpleCode ID="SimpleCode1" runat="server" 
                UsersControlID="ddlUsers" />
            <label class="lab_buttom">
                <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" />
            </label>
        </div>
    </div>
    <div class="both">
    </div>
    <div class="divpanel">
        <div style="width: 623px; margin-left: auto; margin-right: auto">
            <asp:DataList ID="DataList1" runat="server" DataKeyField="EvalTeacherID" Width="100%"
                CssClass="ClearCollapse" ondeletecommand="DataList1_DeleteCommand">
                <ItemTemplate>
                    <table cellpadding="4" cellspacing="0" class="table" style="height: 40px" width="100%">
                        <tr>
                            <td rowspan="2" style="width: 124px; border-top-width: 0px">
                                <%#Eval("TeacherName")%>
                            </td>
                            <td style="height: 20px; border-top-width: 0px">
                                评级：<asp:Image ID="imgIco" runat="server" ImageUrl='<%# "../Images/leftico/icon_p" + Eval("Level") + ".gif"%>'
                                    ImageAlign="AbsMiddle" /><%# Rs.Items.GetEvalTeacherLevel(Eval("Level"))%><asp:LinkButton ID="lbnDelete" runat="server" Text="[删除]" CommandName="Delete" CausesValidation="false"
                                    OnClientClick="<%# Rs.Messages.确定删除%>">
                                </asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td height="50">
                                <%#swq.Tools.HtmlEncode(Eval("Content").ToString())%>
                                <p align="right">
                                    时间：<%#Eval("DateAndTime")%><br />学员：<%#Eval("StudentName")%>(<%#Eval("StudentID")%>)
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
    <div class="divpanel">
        <div style="width: 623px; margin-left: auto; margin-right: auto">
            <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
        </div>
    </div>
    </form>
</body>
</html>
