<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnnShow.aspx.cs" Inherits="SWTraining.User.AnnShow"
    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>
        <asp:FormView ID="fvAnnInfo" runat="server" Width="100%">
            <ItemTemplate>
                <table class="table" cellspacing="0">
                    <tr>
                        <th>
                            公告信息
                        </th>
                    </tr>
                    <tr>
                        <td>
                            主题：<asp:Literal ID="litSubject" runat="server"
                                Text='<%#Eval("Subject")%>' Mode="Encode" /><br />
                            阅读数：<%#Eval("BrowseNum")%><br />
                            日期：
                            <%#Eval("DateAndTime")%>
                            <br />
                            内容：<asp:Literal ID="litContent" runat="server"
                                Text='<%#swq.Tools.HtmlEncode(Eval("Content").ToString())%>' /><br />
                            发布者：<%#Eval("TrueName")%><br />
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:FormView>
    </div>
    </form>
</body>
</html>
