⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news_add.aspx

📁 尚都shangdu新闻后台管理程序,可做各种网站新闻发布
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_add.aspx.cs" Inherits="admin_news_add" %>

<!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 id="Link1" href="css/shangdu.css"  runat="server" rel="stylesheet" type="text/css"/>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: left">
            <table style="width: 98%">
                <tr>
                    <td style="width: 100%; background-color: #f5f5f5;">
                        <img src="../admin/images/comment1_(add)_16x16.gif" />
                        添加新闻项目(技巧提示:你可以轻松的添加新闻并自动生成在articls):<asp:Label
                            ID="Label1" runat="server" Text="Label" Width="340px"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        新闻标题:<asp:TextBox ID="TextBox1" runat="server" Style="font-size: 12px"></asp:TextBox>
                        新闻分类:<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1"
                            DataTextField="bigclassname" DataValueField="bigclassname" Style="font-size: 12px;">
                        </asp:DropDownList>
                        新闻链接:<asp:TextBox ID="TextBox2" runat="server" Style="font-size: 12px" Width="363px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        发布来源:<asp:TextBox ID="TextBox4" runat="server" Style="font-size: 12px"></asp:TextBox>
                        发布时间:<asp:TextBox ID="TextBox3" runat="server" Style="font-size: 12px"></asp:TextBox>
                        新闻颜色:<asp:DropDownList ID="DropDownList2" runat="server" Style="font-size: 12px">
                            <asp:ListItem>无</asp:ListItem>
                            <asp:ListItem>red</asp:ListItem>
                            <asp:ListItem>green</asp:ListItem>
                            <asp:ListItem>blue</asp:ListItem>
                            <asp:ListItem>gray</asp:ListItem>
                            <asp:ListItem>pink</asp:ListItem>
                            <asp:ListItem>yellow</asp:ListItem>
                            <asp:ListItem>highlight</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 100%">
<iframe id="eWebEditor1" frameBorder="0" width="98%" scrolling="no" height="550" runat="server"></iframe>                        </td>
                </tr>
                <tr>
                    <td style="width: 100%; height: 10px; background-color: #f5f5f5;">
                        &nbsp;<img src="../admin/images/application_(add)_16x16.gif" />高级数据配置<asp:TextBox ID="TextBox9" runat="server" Height="177px" TextMode="MultiLine" Width="306px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        tag标签:<asp:TextBox ID="TextBox5" runat="server" Style="font-size: 12px"></asp:TextBox>
                        相关标签:<asp:TextBox ID="TextBox6" runat="server" Style="font-size: 12px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 100%; height: 26px">
                        高级设置:<asp:TextBox ID="TextBox7" runat="server" Style="font-size: 12px"></asp:TextBox>
                        图片新闻链接:<asp:TextBox ID="TextBox8" runat="server" Style="font-size: 12px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="border-right: #ead9b9 1px solid; border-top: #ead9b9 1px solid; border-left: #ead9b9 1px solid;
                        width: 100%; border-bottom: #ead9b9 1px solid; background-color: #fffdee; font-size: 12px; color: #c18945;">
                        ShangduNT提示:<br />
                        你发布新闻请一定要填写标题信息,内容请等待编辑器刷新成功(即出现了侧边栏),因为网速的原因,如果编辑超过编辑框,请等待编辑框出现.<br />
                        高级数据库配置用来高级调用,具体调用请参看news_js.aspx</td>
                </tr>
                <tr>
                    <td style="width: 100%; height: 26px">
                        <asp:Button ID="Button1" runat="server" Text="发布文章" OnClick="Button1_Click" /></td>
                </tr>
                <tr>
                    <td style="width: 100%">
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:shangduConnectionString %>"
                            SelectCommand="SELECT [bigclassname] FROM [bigclass]"></asp:SqlDataSource>
                    </td>
                </tr>
            </table>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -