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

源码截图

源码目录树

当前路径:admin/ad.aspx     <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ad.aspx.cs" Inherits="admin_ad" %>

<!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>
    <link href="../images/news.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DataList ID="DataList1" runat="server" CellPadding="4" ForeColor="#333333" OnCancelCommand="DataList1_CancelCommand" OnDeleteCommand="DataList1_DeleteCommand" OnEditCommand="DataList1_EditCommand" OnUpdateCommand="DataList1_UpdateCommand">
            <ItemTemplate>
                <table width="500">
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            广告名称</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("AlternateText") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            图片地址</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("ImageUrl") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            关键词</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("Keyword") %>'></asp:Label></td>
                    </tr>
                        <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            显示权重</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("Impressions") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed; height: 22px">
                            广告指向</td>
                        <td colspan="2" style="width: 400px; border-bottom: #0099ff 1px dashed; height: 22px;
                            background-color: #99ccff">
                            <a href='<%# Eval("NavigateUrl") %>' target=_blank><asp:Label ID="Label5" runat="server" Text='<%# Eval("NavigateUrl") %>'></asp:Label></a></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="3" style="border-bottom: #0099ff 1px dashed; height: 27px;
                            background-color: #99ccff">
                            <asp:Button ID="Button1" runat="server" CommandName="edit" Text="修改广告" />
                            <asp:Button ID="Button2" runat="server" CommandName="delete" Text="删除广告" /></td>
                    </tr>
                </table>
            </ItemTemplate>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <AlternatingItemStyle BackColor="White" />
            <ItemStyle BackColor="#EFF3FB" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditItemTemplate>
                <table width="500">
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            广告名称</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("AlternateText") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            图片地址</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval("ImageUrl") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                            关键词</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff;" colspan="2">
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Eval("Keyword") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed; height: 27px;">
                            显示权重</td>
                        <td style="width: 400px; border-bottom: #0099ff 1px dashed; background-color: #99ccff; height: 27px;" colspan="2">
                            <asp:TextBox ID="TextBox4" runat="server" Text='<%# Eval("Impressions") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 100px; border-bottom: #0099ff 1px dashed; height: 27px">
                            广告指向</td>
                        <td colspan="2" style="width: 400px; border-bottom: #0099ff 1px dashed; height: 27px;
                            background-color: #99ccff">
                            <asp:TextBox ID="TextBox5" runat="server" Text='<%# Eval("NavigateUrl") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="3" style="border-bottom: #0099ff 1px dashed; background-color: #99ccff">
                            <asp:Button ID="Button3" runat="server" CommandName="update" Text="更新" />
                            <asp:Button ID="Button4" runat="server" CommandName="cancel" Text="取消" /></td>
                    </tr>
                </table>
            </EditItemTemplate>
        </asp:DataList>&nbsp;<table width="500">
            <tr>
                <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                    广告名称</td>
                <td style="width: 400px; border-bottom: #0099ff 1px dashed;" colspan="2">
                    <asp:TextBox ID="na" runat="server" Text='<%# Eval("AlternateText") %>'></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                    图片地址</td>
                <td style="width: 400px; border-bottom: #0099ff 1px dashed;" colspan="2">
                    <asp:TextBox ID="url" runat="server" Text='<%# Eval("ImageUrl") %>'></asp:TextBox>
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">上传图片</asp:LinkButton>
                    <div id="DIV1" runat="server" style="width: 400px; height: 100px" visible="false">
                        <table style="width: 400px; height: 100px">
                            <tr>
                                <td colspan="2" style="height: 55px">
                                    <asp:Image ID="img" runat="server" Height="50px" Width="400px" /></td>
                            </tr>
                            <tr>
                                <td style="width:300px">
                                    <asp:FileUpload ID="fu" runat="server" Width="287px" /></td>
                                <td style="width: 100px">
                                    <asp:Button ID="Button6" runat="server" OnClick="Button6_Click" Text="上传" /></td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="width: 100px; border-bottom: #0099ff 1px dashed;">
                    关键词</td>
                <td style="width: 400px; border-bottom: #0099ff 1px dashed;" colspan="2">
                    <asp:TextBox ID="kw" runat="server" Text='<%# Eval("Keyword") %>'></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; border-bottom: #0099ff 1px dashed; height: 27px;">
                    显示权重</td>
                <td style="width: 400px; border-bottom: #0099ff 1px dashed;" colspan="2">
                    <asp:TextBox ID="qz" runat="server" Text='<%# Eval("Impressions") %>'></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; border-bottom: #0099ff 1px dashed; height: 27px">
                    广告指向</td>
                <td colspan="2" style="width: 400px; border-bottom: #0099ff 1px dashed">
                    <asp:TextBox ID="ng" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="border-bottom: #0099ff 1px dashed; background-color: #99ccff">
                    <asp:Button ID="Button5" runat="server" OnClick="Button5_Click" Text="增加" /></td>
            </tr>
        </table>
    </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号
分享该页面
关闭侧边栏