<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveShow.aspx.cs" Inherits="SWTraining.Teacher.LeaveShow"
    Title="教师工作台-查看请假信息" %>

<%@ Import Namespace="SWTraining" %>
<!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="form1" runat="server">
    <div id="sw_content">
        <div class="divpanel">
            <asp:FormView ID="fvLeave" runat="server" Width="100%">
                <ItemTemplate>
                    <table class="table" cellspacing="0">
                        <tr>
                            <th colspan="2">
                                请假信息
                            </th>
                        </tr>
                        <tr>
                            <td style="width: 20%">
                                办理日期：
                            </td>
                            <td>
                                <%#Eval("DateAndTime")%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                开始时间：
                            </td>
                            <td>
                                <%#Eval("StartDate","{0:d}")%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                结束时间：
                            </td>
                            <td>
                                <%#Eval("EndDate", "{0:d}")%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                请假原因：
                            </td>
                            <td>
                                <asp:Literal ID="litRemark" runat="server" Mode="Encode" Text='<%#Eval("Remark")%>'></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                录入员：
                            </td>
                            <td>
                                <%#Eval("TrueName")%>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:FormView>
        </div>
        <div class="divpanel">
            <input causesvalidation="false" type="button" runat="server" onclick="back()" value="返回" />
        </div>
    </div>
    </form>
</body>
</html>
