<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateNews.aspx.cs" Inherits="admin_News_AddNews" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<!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 href="../skin/Skin1/Table.css" rel="stylesheet" type="text/css" />

    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
   <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="left">
                    信息标题：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" Width="279px" 
                        MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="必填！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left">
                    发布人：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox2" runat="server" CssClass="txt" Width="169px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="必填！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left">
                    发布时间：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox3" runat="server" CssClass="txt" Width="150px" onClick="WdatePicker()" 
                     ></asp:TextBox>
                     <img onclick="WdatePicker({el:'TextBox3'})" src="../My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">
            </tr>
            <tr>
                <td class="left">
                    所属分类：</td>
                <td class="right">
                   <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                        <asp:ListItem Value="0">==请选择==</asp:ListItem>
                        <asp:ListItem Value="10102813323889">公司新闻</asp:ListItem>
                        <asp:ListItem Value="10102813324956">招标公告</asp:ListItem>
                        <asp:ListItem Value="10102813400000">公示</asp:ListItem>
                        <asp:ListItem Value="10102813400011">通知</asp:ListItem>
                        <asp:ListItem Value="10102813384223">文件下载</asp:ListItem>
                        <asp:ListItem Value="10102813401439">政策法规</asp:ListItem>
                    </asp:DropDownList>
                &nbsp;
                    <asp:DropDownList ID="DropDownList2" runat="server" Visible="False">
                    </asp:DropDownList>
            </tr>
            <tr>
                <td class="left">
                    信息内容：</td>
                <td class="right">
                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="500px" 
                        Width="700px">
                    </FCKeditorV2:FCKeditor>
                </td>
            </tr>
            <tr>
                <td  style="height:50px; text-align:center;" colspan="2">
                    <asp:Button ID="Button1" runat="server" Text="更新信息" CssClass="button" 
                        onclick="Button1_Click" />
                </td>
            </tr>
            </table>
    
    </div>
    </form>
</body>
</html>
