EditNews.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:3k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditNews.aspx.cs" Inherits="EditNews" validateRequest="false" Title="修改新闻" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.       <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#666666"
  11.     bordercolordark="#FFFFFF">
  12.     <tr bgcolor="#CCCCCC">
  13.       <td colspan="2" align="center">
  14.         <span style="font-size: 12pt; color: #0000ff; font-family: 黑体">修改新闻信息</span></td>
  15.     </tr>
  16.     <tr>
  17.       <td colspan="2"></td>
  18.     </tr>
  19.     <tr>
  20.       <td width="10%">标题:</td>
  21.       <td width="90%"><asp:TextBox ID="biaoti" Width="250px" runat="server" /></td>
  22.     </tr>
  23.     <tr>
  24.       <td width="10%">摘自:</td>
  25.       <td width="80%"><asp:TextBox ID="zhaizi" runat="server" Width="250px" /></td>
  26.     </tr>
  27.     <tr>
  28.       <td width="10%">分类:</td>
  29.       <td width="80%">
  30.         <asp:DropDownList ID="DdlClass" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DdlClass_SelectedIndexChanged">
  31.         </asp:DropDownList>
  32.         </td>
  33.     </tr>
  34.     <tr>
  35.       <td width="10%">
  36.         图片:</td>
  37.       <td width="80%">
  38.         <asp:FileUpload ID="myFile" runat="server" Width="250px" />&nbsp;
  39.         <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="上传" />&nbsp;缩略图
  40.         <asp:Image ID="Img" runat="server" Height="50px" Width="50px" /></td>
  41.     </tr>
  42.     <tr>
  43.       <td width="10%">
  44.         内容:</td>
  45.       <td width="80%" style="vertical-align: top">
  46.         <asp:TextBox ID="content" Style="display: none" runat="server" TextMode="MultiLine" Width="80%" />
  47.         <script language="JavaScript" type="text/javascript" src="editor/editor.js"></script>
  48.         <script language="javascript">createEditor('test','content','600px','300px');</script>
  49.         <span style="color: #ff3399">这种编辑工具还不完善,不能直接将Word文档Copy进去,否则出错!</span></td>
  50.     </tr>
  51.     <tr>
  52.       <td colspan="2">
  53.       </td>
  54.     </tr>
  55.     <tr>
  56.       <td colspan="2">
  57.         <div align="center">
  58.           <asp:Button ID="submit" OnClick="submit_Click" runat="server" Text="提交"></asp:Button>
  59.           <asp:Button ID="reset" OnClick="reset_Click" runat="server" Text="取消"></asp:Button>
  60.         </div>
  61.       </td>
  62.     </tr>
  63.   </table>
  64.     <asp:Label ID="Label1" runat="server" />
  65.     <asp:HyperLink ID="HyperLink1" NavigateUrl="~/Default.aspx" runat="server">浏览新闻</asp:HyperLink>
  66.     <asp:HyperLink ID="HyperLink2" NavigateUrl="~/Admin/AdminNews.aspx" runat="server">管理新闻</asp:HyperLink>
  67.     </div>
  68.     </form>
  69. </body>
  70. </html>