📄 addnewsinfo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNewsInfo.aspx.cs" Inherits="NewsManage_AddNewsInfo" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!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">
<div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table style="z-index: 100; left: 10px; width: 816px; position: absolute; top: 16px">
<tr>
<td colspan="2" style="color: #ffffff; height: 26px; background-color: #507dbe; text-align: left">
新闻发布</td>
</tr>
<tr>
<td style="width: 130px; height: 26px; background-color: #f1f3f5; text-align: right">
新闻标题:</td>
<td style="width: 325px; height: 26px; background-color: #f1f3f5; text-align: left">
<asp:TextBox ID="TxtNEWSTITLE" runat="server" Width="294px" style="left: -2px; position: relative; top: 0px" ></asp:TextBox></td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; text-align: right">
类别标识:</td>
<td style="width: 325px; background-color: #f1f3f5; text-align: left">
<asp:DropDownList ID="DroCLASSID" runat="server" DataSourceID="SqlDataSource1"
DataTextField="CLASSNAME" DataValueField="CLASSID" Style="position: relative">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:news_manageConnectionString6 %>"
SelectCommand="SELECT * FROM [t_Class]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; text-align: right">
用户标识:</td>
<td style="width: 325px; background-color: #f1f3f5; text-align: left">
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2"
DataTextField="USERNAME" DataValueField="USERID">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:news_manageConnectionString4 %>"
SelectCommand="SELECT [USERID], [USERNAME] FROM [t_News_User]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 130px; height: 26px; background-color: #f1f3f5; text-align: right">
新闻发布日期:</td>
<td style="width: 325px; height: 26px; background-color: #f1f3f5; text-align: left">
<asp:TextBox ID="TxtNEWSDATE" runat="server" Width="191px" style="position: relative; left: 2px; top: 0px;"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; text-align: right; height: 8px;">
新闻关键字:</td>
<td style="width: 325px; background-color: #f1f3f5; height: 8px;">
<asp:TextBox ID="TxtNEWSKEY" runat="server" Width="187px" style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; text-align: right; height: 14px;">
新闻来源:</td>
<td style="width: 325px; background-color: #f1f3f5; text-align: left; height: 14px;">
<asp:TextBox ID="TxtNEWSOURCE" runat="server" Width="230px" style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; text-align: right; height: 466px;">
新闻内容:</td>
<td style="width: 325px; background-color: #f1f3f5; text-align: left; height: 466px;">
<FTB:FreeTextBox ID="FreeTextBox1" runat="server">
</FTB:FreeTextBox>
</td>
</tr>
<tr>
<td style="width: 130px; background-color: #f1f3f5; height: 74px;">
</td>
<td style="width: 325px; background-color: #f1f3f5; height: 74px;">
<asp:Button ID="BtnAdd" runat="server" Text="保存" OnClick="BtnAdd_Click" style="position: relative" />
<asp:Button ID="BtnEsc" runat="server" Text="取消" OnClick="BtnEsc_Click" style="position: relative" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -