新闻添加页面源码

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsEdit.aspx.cs" Inherits="zj123.UI.images.Expro.NewsEdit" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<!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>
<script type="text/javascript" charset="gb2312" src="../images/js/date.js"></script>
</head>
<body>
<form id="form1" runat="server">
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
<table align="center" border="0" cellpadding="0" cellspacing="0" width="860" style="font-size:12px">
<tr>
<td align="center" bgcolor="#eef7ff" colspan="2" style="height: 20px">
<strong>展会管理</strong></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center"  bgcolor="#e8f4ff" style="width: 119px; height: 30px">
    所属类别:</td>
<td bgcolor="#eef7ff" style="height: 30px">
    &nbsp;<asp:DropDownList ID="DdlGTypeId" runat="server"    Width="300px">
    </asp:DropDownList></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
<div align="center">
<span>
标题:</span></div>
</td>
<td bgcolor="#eef7ff" style="height: 30px">
<span class="font"
style="background-color: #eef7ff"><font color="#666666"><font color="#999999"><font
color="#ff6600">
<asp:TextBox ID="TbGTitle" runat="server" Width="298px"></asp:TextBox></font></font></font></span></td>
</tr>
<tr bgcolor="#ffffff" style="background-color: #eef7ff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
<span>关键字:</span></td>
<td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
<asp:TextBox ID="TbGKeyWord" runat="server" Width="298px"></asp:TextBox></td>
</tr>
<tr bgcolor="#ffffff" style="background-color: #eef7ff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
<div align="center">
<span><span>描述:</span></span></div>
</td>
<td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
<span class="font">
<asp:TextBox ID="TbGDescription" runat="server" Width="298px"></asp:TextBox></span></td>
</tr>
<tr bgcolor="#ffffff" style="background-color: #eef7ff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
    内容:</td>
<td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
    <ce:editor id="TbGContent" runat="server"></ce:editor>
</td>
</tr>
<tr bgcolor="#ffffff" style="background-color: #eef7ff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
<span>添加时间:</span></td>
<td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
<asp:TextBox ID="TbGAddTime" onfocus="setday(this)"  runat="server" Width="298px"></asp:TextBox></td>
</tr>
    <tr bgcolor="#ffffff">
        <td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
            图片:</td>
        <td bgcolor="#eef7ff" style="height: 30px">
            <asp:FileUpload ID="FuGPic" runat="server" Width="377px" /></td>
    </tr>
    <tr bgcolor="#ffffff">
        <td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px">
            属性:</td>
        <td bgcolor="#eef7ff" style="height: 30px">
            <asp:CheckBox ID="CbGRecommend" runat="server" Text="推荐" /></td>
    </tr>
<tr bgcolor="#ffffff">
<td align="center" bgcolor="#d2eaff" style="width: 119px; height: 30px;">
<div align="right">
&nbsp;</div>
</td>
<td bgcolor="#eef7ff" style="height: 30px">
&nbsp;<asp:Button ID="BtEdit" runat="server" Text="编辑" Width="67px" OnClick="BtEdit_Click" />
&nbsp;&nbsp;&nbsp; <span class="font"></span></td>
</tr>
<tr>
<td style="width: 119px">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</form>
</body>
</html>

你可能感兴趣的:(源码)