AddNews.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNews.aspx.cs" Inherits="AddNews" validateRequest="false" %>
- <!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>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#666666" bordercolordark="#FFFFFF">
- <tr bgcolor="#CCCCCC">
- <td colspan="2" align="center"><span style="font-size: 12pt; color: #0000ff; font-family: 黑体">添加新闻信息</span></td>
- </tr>
- <tr>
- <td colspan="2"></td>
- </tr>
- <tr>
- <td width="10%">标题:</td>
- <td width="90%"><asp:TextBox ID="biaoti" Width="250px" runat="server" /></td>
- </tr>
- <tr>
- <td width="10%">摘自:</td>
- <td width="80%"><asp:TextBox ID="zhaizi" runat="server" Width="250px" /></td>
- </tr>
- <tr>
- <td width="10%">分类:</td>
- <td width="80%">
- <asp:DropDownList ID="DdlClass" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DdlClass_SelectedIndexChanged">
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td width="10%">
- 图片:</td>
- <td width="80%">
- <asp:FileUpload ID="myFile" runat="server" Width="250px" />
- <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="上传" /> 缩略图
- <asp:Image ID="Img" runat="server" Height="50px" Width="50px" /></td>
- </tr>
- <tr>
- <td width="10%">
- 内容:</td>
- <td width="80%" style="vertical-align: top">
- <asp:TextBox ID="content" Style="display: none" runat="server" TextMode="MultiLine"
- Width="80%" />
- <script language="JavaScript" type="text/javascript" src="editor/editor.js"></script>
- <script language="javascript">createEditor('test','content','600px','300px');</script>
- <span style="color: #ff3399">这种编辑工具还不完善,不能直接将Word文档Copy进去,否则出错!</span></td>
- </tr>
- <tr>
- <td colspan="2">
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div align="center">
- <asp:Button ID="submit" OnClick="submit_Click" runat="server" Text="提交"></asp:Button>
- <asp:Button ID="reset" OnClick="reset_Click" runat="server" Text="取消"></asp:Button>
- </div>
- </td>
- </tr>
- </table>
- <p align="center">
- <asp:Label ID="Label1" runat="server" />
- <asp:HyperLink ID="HyperLink1" NavigateUrl="~/NewsDefault.aspx" runat="server">浏览新闻</asp:HyperLink>
- </div>
- </form>
- </body>
- </html>