update_news.aspx
资源名称:xwfbxt.rar [点击查看]
上传用户:tongfeicq
上传日期:2022-07-20
资源大小:2856k
文件大小:4k
源码类别:
.net编程
开发平台:
Visual C++
- <%@ page language="C#" masterpagefile="admin.master" autoeventwireup="true" inherits="admin_update_news, oyaya" validaterequest="false" title="Untitled Page" %>
- <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox"%>
- <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
- 添加文章
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
- <table border="0" cellpadding="0" cellspacing="0" class="top_table" width="750">
- <tr>
- <td class="top_table_td1"> </td>
- <td class="top_table_td2" style="width: 425px"> 文章修改</td>
- <td class="top_table_td3">
- </td>
- </tr>
- <tr>
- <td width="152" align="center" style="height: 30px">新闻标题:</td>
- <td colspan="2" align="left" style="height: 30px">
- <asp:TextBox ID="TextBox1" runat="server" Height="13px" Width="341px"></asp:TextBox></td>
- </tr>
- <tr>
- <td width="152" align="center" style="height: 30px">文章来源:</td>
- <td colspan="2" align="left" style="height: 30px">
- <asp:TextBox ID="TextBox2" runat="server" Height="13px" Width="341px"></asp:TextBox></td>
- </tr>
- <tr>
- <td width="152" height="30" align="center">责任编辑:</td>
- <td align="left" style="width: 425px">
- <asp:TextBox ID="TextBox3" runat="server" Height="13px" Width="341px"></asp:TextBox></td>
- <td width="196" rowspan="3" align="center"><asp:Image ID="Image1" runat="server" ImageUrl="~/images/nonebig.gif" Height="106px" Width="105px" /></td>
- </tr>
- <tr>
- <td height="30" align="center" valign="middle" >新闻分类:</td>
- <td valign="middle" style="height: 14px; text-align: left; width: 425px;">
- <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList><asp:DropDownList ID="DropDownList2" runat="server"></asp:DropDownList>
- </td>
- </tr>
- <tr>
- <td height="50" align="center">新闻图片:<br />
- <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="FileUpload1"
- ErrorMessage="请选择图片!" ValidationGroup="bb"></asp:RequiredFieldValidator></td>
- <td align="left" valign="middle" style="width: 425px">
- <asp:FileUpload ID="FileUpload1" runat="server" CssClass="TextBox" Width="271px" />
- <asp:Button ID="Button2" runat="server" CssClass="Button" Text="上传图片" OnClick="Button2_Click" ValidationGroup="bb" />
- <br />
-
- <asp:TextBox ID="TextBox4" runat="server" Width="349px" ></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td align="center" valign="middle" style="height: 353px">新闻内容<br />
- <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="FreeTextBox1"
- ErrorMessage="内容不能为空!" ValidationGroup="aa"></asp:RequiredFieldValidator></td>
- <td colspan="2" align="center" valign="top" style="height: 353px">
- <FTB:FreeTextBox ID="FreeTextBox1" runat="server" SupportFolder="./FreeTextBox/" ButtonSet="Office2003" Height="350px" Width="600px" />
- </td>
- </tr>
- <tr>
- <td height="20" align="right" valign="middle"> </td>
- <td height="20" colspan="2"><asp:Button ID="Button1" runat="server" Style="font: menu; border-right: #003333 1px solid; border-top: #003333 1px solid; border-left: #003333 1px solid; border-bottom: #003333 1px solid;" Text="修改信息" Width="83px" OnClick="Button1_Click" />
- <asp:Label ID="Label1" runat="server"></asp:Label></td>
- </tr>
- </table>
- </asp:Content>