show.ascx

(完整代码) 2KB

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="show.ascx.cs" Inherits="show" %>

<div id="show">
        <div id="showhead">
            当前第<asp:Label ID="now" runat="server" Width="18px" />页 &nbsp; 共<asp:Label ID="all" runat="server" Width="18px" />页
            &nbsp;&nbsp;&nbsp; &nbsp;
            <asp:ImageButton ID="pre" runat="server" OnClick="pre_Click" ImageUrl="images/liuyan/pre.gif" />
            &nbsp; &nbsp;&nbsp; &nbsp;<asp:ImageButton ID="next" runat="server" OnClick="next_Click" ImageUrl="images/liuyan/next.gif"/>
            &nbsp; &nbsp;&nbsp; 共<asp:Label ID="msgall1" runat="server" Text="Label" Width="18px"></asp:Label>条留言</div>
             <div >
                  <asp:DataList ID="DataList1" runat="server" CellPadding="4">
                  <ItemTemplate>
                  <img alt="姓名" src="images/liuyan/user.png" />姓名:<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"gname").ToString()) %>&nbsp;&nbsp;&nbsp;&nbsp;
                  <img alt="时间" src="images/liuyan/time.png" />时间:<%# DataBinder.Eval(Container.DataItem,"gtime") %>&nbsp;&nbsp;&nbsp;&nbsp;
                  <img alt="ip地址" src="images/liuyan/ip.png" />IP:<%# DataBinder.Eval(Container.DataItem, "gIP").ToString().Remove(DataBinder.Eval(Container.DataItem,"gIP").ToString().LastIndexOf(".") + 1 )+ "*"%><br />
                  <img  alt="内容" src="images/liuyan/content.gif" />内容:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"gcontent").ToString()) %>
                  </ItemTemplate>
                  <SeparatorTemplate>
                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
                  </SeparatorTemplate>
                      <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                          Font-Underline="False" ForeColor="#333333" />
                 </asp:DataList>
        </div>
        <div id="showfoot">
            当前第<asp:Label ID="now1" runat="server" Width="18px" />页 &nbsp; 共<asp:Label ID="all1" runat="server" Width="18px" />页
            
            &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:ImageButton ID="pre1" runat="server" OnClick="pre_Click" ImageUrl="images/liuyan/pre.gif" />
            &nbsp; &nbsp;&nbsp; &nbsp;
            <asp:ImageButton ID="next1" runat="server" OnClick="next_Click" ImageUrl="images/liuyan/next.gif"/>
            &nbsp; &nbsp;&nbsp; &nbsp;共<asp:Label ID="msgall" runat="server" Text="Label" Width="18px"></asp:Label>条留言</div>
</div>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。