C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着

新闻添加html页面

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsEdit.aspx.cs" Inherits="domain.UI.images.News.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>
</head>
<body>
    <form id="form1" runat="server">
          <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
                <td align="center" bgcolor="#eef7ff" colspan="2" style="height: 20px">
                    推荐产品编辑</td>
            </tr>
            <tr bgcolor="#ffffff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                    <div align="center">
                        <span style="font-size: 10pt; font-family: 宋体">类型</span></div>
                </td>
                <td bgcolor="#eef7ff" style="height: 30px">
                    <asp:DropDownList ID="DdlType" runat="server" Width="258px">
                    </asp:DropDownList></td>
            </tr>
              <tr bgcolor="#ffffff">
                  <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                      <span style="font-size: 10pt; font-family: 宋体">标题</span></td>
                  <td bgcolor="#eef7ff" style="height: 30px">
                      <asp:TextBox ID="TbTitle" runat="server" Width="251px"></asp:TextBox></td>
              </tr>
              <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                  <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                      关键字</td>
                  <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                      <asp:TextBox ID="TbKeyword" runat="server" Width="251px"></asp:TextBox></td>
              </tr>
            <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                    <p class="MsoNormal" style="margin: 0cm 0cm 0pt">
                        <span style="font-size: 10pt; font-family: 宋体;'">来源</span></p>
                </td>
                <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                    <asp:TextBox ID="TbComeFrom" runat="server" Width="252px"></asp:TextBox></td>
            </tr>
            <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                    <div align="center">
                        <span style="color: #ff6600">
                            <p class="MsoNormal" style="margin: 0cm 0cm 0pt">
                                <span style="font-size: 10pt; color: #000000; font-family: 宋体; mso-ascii-font-family: 'Times New Roman';
                                    mso-hansi-font-family: 'Times New Roman'">作者</span></p>
                        </span></div>
                </td>
                <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                    <span class="font"><font color="#666666"><font color="#999999"><font color="#ff6600">
                        <asp:TextBox ID="TbAuthor" runat="server" Width="252px"></asp:TextBox></font></font></font></span></td>
            </tr>
            <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                    <p class="MsoNormal" style="margin: 0cm 0cm 0pt">
                        <span style="font-size: 10pt; font-family: 宋体; mso-ascii-font-family: 'Times New Roman';
                            mso-hansi-font-family: 'Times New Roman'">内容</span></p>
                </td>
                <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                    <CE:Editor ID="TbContent" runat="server" Width="572px">
                        <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid" BorderWidth="1px"
                            CssClass="CuteEditorFrame" Height="100%" Width="100%" />
                    </CE:Editor>
                </td>
            </tr>
            <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 8px">
                    <span style="font-size: 10.5pt; font-family: 宋体; mso-ascii-font-family: 'Times New Roman';
                        mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt;
                        mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN;
                        mso-bidi-language: AR-SA">图片</span></td>
                <td bgcolor="#eef7ff" style="color: #ff6600; height: 8px">
                    <asp:Image ID="idPic" runat="server" Height="115px" Width="257px" /><br />
                    <asp:FileUpload ID="FpPic" onchange="document.getElementById('idPic').src=value" runat="server" Width="332px" /></td>
            </tr>
              <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                  <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 30px">
                      <span style="font-size: 10.5pt; font-family: 宋体; mso-ascii-font-family: 'Times New Roman';
                          mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt;
                          mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN;
                          mso-bidi-language: AR-SA">属性</span></td>
                  <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                      <asp:CheckBox ID="Cbcommand" runat="server" Text="推荐" />
                      &nbsp; &nbsp;
                      <asp:CheckBox ID="cbTop" runat="server" Text="置顶" /></td>
              </tr>
            <tr bgcolor="#ffffff">
                <td align="center" bgcolor="#d2eaff" style="width: 93px; height: 16px;">
                    <div align="right">
                        &nbsp;</div>
                </td>
                <td bgcolor="#eef7ff" style="height: 16px">
                    &nbsp;<asp:Button ID="BtEdit" runat="server" Text="编辑" Width="67px" OnClick="BtEdit_Click" /><span class="font"></span></td>
            </tr>
            <tr>
                <td style="width: 93px; height: 19px;">
                    &nbsp;</td>
                <td style="height: 19px">
                    &nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>

posted on 2009-06-10 18:17  王德田  阅读(255)  评论(0编辑  收藏  举报