点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 留言本类>> Asp.net多模式留言系统>> 源文件浏览
[免费版 Free] WebForm,下载次数:4779 次 | 关键字: Access 多功能编辑器 留言板 论坛

源码截图

源码目录树

当前路径:mero.aspx     <%@ Page Language="C#" AutoEventWireup="true" CodeFile="mero.aspx.cs" Inherits="mero" EnableEventValidation="false" %>

<%@ Register Src="bq.ascx" TagName="bq" TagPrefix="uc1" %>

<%@ Register Assembly="DXControls" Namespace="DXControls" TagPrefix="cc1" %>

<!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>
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <meta http-equiv="pragma" content="no-cache"> 
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="images/news.css" rel="stylesheet" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
    <link href="dxtb/editor.css" rel="STYLESHEET" type="text/css" />
 
</head>
<body>
    <form id="form1" runat="server">
    <div align=center>
        <asp:Panel ID="Panel1" runat="server" Height="50px" Width="500px">
        <asp:FormView ID="FormView1" runat="server" DataKeyNames="id" DataSourceID="SqlDataSource1"
            OnItemCreated="FormView1_ItemCreated">
            <EditItemTemplate>
                id:
                <asp:Label ID="idLabel1" runat="server" Text='<%# Eval("id") %>'></asp:Label><br />
                name:
                <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>'></asp:TextBox><br />
                email:
                <asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>'>
                </asp:TextBox><br />
                qq:
                <asp:TextBox ID="qqTextBox" runat="server" Text='<%# Bind("qq") %>'>
                </asp:TextBox><br />
                msn:
                <asp:TextBox ID="msnTextBox" runat="server" Text='<%# Bind("msn") %>'>
                </asp:TextBox><br />
                url:
                <asp:TextBox ID="urlTextBox" runat="server" Text='<%# Bind("url") %>'>
                </asp:TextBox><br />
                title:
                <asp:TextBox ID="titleTextBox" runat="server" Text='<%# Bind("title") %>'>
                </asp:TextBox><br />
                concent:
                <asp:TextBox ID="concentTextBox" runat="server" Text='<%# Bind("concent") %>'>
                </asp:TextBox><br />
                face:
                <asp:TextBox ID="faceTextBox" runat="server" Text='<%# Bind("face") %>'>
                </asp:TextBox><br />
                ip:
                <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>'>
                </asp:TextBox><br />
                pwd:
                <asp:TextBox ID="pwdTextBox" runat="server" Text='<%# Bind("pwd") %>'>
                </asp:TextBox><br />
                dtt:
                <asp:TextBox ID="dttTextBox" runat="server" Text='<%# Bind("dtt") %>'>
                </asp:TextBox><br />
                <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                    Text="更新">
                </asp:LinkButton>
                <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="取消">
                </asp:LinkButton>
            </EditItemTemplate>
            <InsertItemTemplate>
                name:
                <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>'>
                </asp:TextBox><br />
                email:
                <asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>'>
                </asp:TextBox><br />
                qq:
                <asp:TextBox ID="qqTextBox" runat="server" Text='<%# Bind("qq") %>'>
                </asp:TextBox><br />
                msn:
                <asp:TextBox ID="msnTextBox" runat="server" Text='<%# Bind("msn") %>'>
                </asp:TextBox><br />
                url:
                <asp:TextBox ID="urlTextBox" runat="server" Text='<%# Bind("url") %>'>
                </asp:TextBox><br />
                title:
                <asp:TextBox ID="titleTextBox" runat="server" Text='<%# Bind("title") %>'>
                </asp:TextBox><br />
                concent:
                <asp:TextBox ID="concentTextBox" runat="server" Text='<%# Bind("concent") %>'>
                </asp:TextBox><br />
                face:
                <asp:TextBox ID="faceTextBox" runat="server" Text='<%# Bind("face") %>'>
                </asp:TextBox><br />
                ip:
                <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>'>
                </asp:TextBox><br />
                pwd:
                <asp:TextBox ID="pwdTextBox" runat="server" Text='<%# Bind("pwd") %>'>
                </asp:TextBox><br />
                dtt:
                <asp:TextBox ID="dttTextBox" runat="server" Text='<%# Bind("dtt") %>'>
                </asp:TextBox><br />
                <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
                    Text="插入">
                </asp:LinkButton>
                <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="取消">
                </asp:LinkButton>
            </InsertItemTemplate>
            <ItemTemplate>
                <table align="center" border="1" bordercolor="#0066cc" width="500">
                    <tr>
                        <td align="center" background="img/title_left.gif" height="24" valign="middle" width="143">
                            <font color="white">
                                <asp:Label ID="Label1" runat="server" Text='<%# Server.HtmlDecode(Eval("name").ToString()) %>'></asp:Label></font></td>
                        <td align="left" background="img/title_left.gif" height="24" width="311">
                            <font color="white">
                                <asp:Label ID="Label3" runat="server" Text='<%# Server.HtmlDecode(Eval("title").ToString()) %>'></asp:Label></font></td>
                        <td background="img/title_left.gif" height="24" style="width: 40px">
                            <a href='mero.aspx?id=<%# Eval("id") %>'>
            <asp:Image ID="Image7" runat="server" ImageUrl="images/quote.gif" ToolTip="回复" /></a>
                            </td>
                    </tr>
                    <tr>
                        <td align="center" style="height: 96px" valign="middle" width="143">
                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("face") %>' />
                            <br />
                            <asp:Image ID="Image2" runat="server" ImageUrl="~/images/icon_qq.gif" ToolTip='<%#Eval("qq") %>' />
                            <a href='mailto:<%# Eval("email") %>'>
                                <asp:Image ID="Image3" runat="server" ImageUrl="~/images/icon_mail.gif" ToolTip='<%#Eval("email") %>' /></a>
                            <asp:Image ID="Image4" runat="server" ImageUrl="~/images/icon_msn.gif" ToolTip='<%#Eval("msn") %>' />
                            <a href='<%# Eval("url") %>'>
                                <asp:Image ID="Image5" runat="server" ImageUrl="~/images/icon_homepage.gif" ToolTip='<%#Eval("url") %>' /></a>
                            <asp:Image ID="Image6" runat="server" ImageUrl="~/images/icon_ip.gif" ToolTip='<%#Eval("ip") %>' />
                            <br />
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("dtt","{0:d}") %>'></asp:Label></td>
                        <td colspan="2" style="height: 96px" align="left">
                                <asp:Label ID="Label4" runat="server" Text='<%# Server.HtmlDecode(Eval("concent").ToString()) %>'></asp:Label>&nbsp;<br />
                         <asp:Panel ID="dl" runat="server" Height="50px" Visible="False" Width="200px">
                  加密留言,管理员请后台登陆<br />
                  <asp:TextBox ID="dlpwd" runat="server" Width="88px" TextMode="Password"></asp:TextBox>
                  <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="查看留言" Width="73px" />
                             <asp:Label ID="iidd" runat="server" Text='<%# Eval("id") %>' Visible="False"></asp:Label></asp:Panel>
       <asp:Panel ID="Panel1" runat="server" Visible="False" Width="350px" HorizontalAlign="Center"> <font color='#ff9933'> *************以下是回复*************</font>&nbsp;<asp:DataList
           ID="DataList2" runat="server" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None"
           BorderWidth="1px" CellPadding="3" GridLines="Horizontal" HorizontalAlign="Center"
           Width="350px">
           <ItemTemplate>
               <table style="width: 347px; height: 57px">
                   <tr>
                       <td align="left" bordercolor="#3366ff" style="border-right: #0066cc 1px solid; border-top: #0066cc 1px solid;
                           border-left: #0066cc 1px solid; border-bottom: #0066cc 1px solid; height: 25px;"
                           width="380">
                           <asp:Label ID="Label5" runat="server" Text='<%# Eval("title") %>'></asp:Label>
                           (<asp:Label ID="Label6" runat="server" Text='<%# Eval("dtt","{0:d}") %>'></asp:Label>)</td>
                   </tr>
                   <tr>
                       <td align="left" bordercolor="#3366ff" style="border-right: #0066cc 1px solid; border-top: #0066cc 1px solid;
                           border-left: #0066cc 1px solid; border-bottom: #0066cc 1px solid" width="380">
                           <asp:Label ID="Label7" runat="server" Text='<%# Server.HtmlDecode(Eval("concent").ToString()) %>'></asp:Label></td>
                   </tr>
               </table>
           </ItemTemplate>
           <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
           <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
           <AlternatingItemStyle BackColor="#F7F7F7" />
           <ItemStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
           <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
       </asp:DataList></asp:Panel>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:FormView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:book %>"
            ProviderName="<%$ ConnectionStrings:book.ProviderName %>" SelectCommand="SELECT * FROM [guest] WHERE ([id] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="id" QueryStringField="id" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="500px">
            <table>
                <tr>
                    <td style="width: 503px" align="left" bgcolor="#0099ff">
                        标题 :
                        <asp:TextBox ID="titletb" runat="server"></asp:TextBox>&nbsp; 名字:<asp:TextBox ID="nametb"
                            runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                <td style="width: 503px">
                    <cc1:DXTB ID="concentdx" runat="server" Height="100px" Width="500px" />
                </td>
                </tr>
                <tr>
                <td style="width: 503px">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" />
                    <input id="Reset1" type="reset" value="重写" /></td>
                </tr>
            </table>
            <uc1:bq ID="Bq1" runat="server" />
            
        </asp:Panel>
        &nbsp;
    </div></form>
</body>
</html>
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:2852517674
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
分享该页面
关闭侧边栏