📄 addother.aspx
字号:
<%@ Page language="c#" Codebehind="AddOther.aspx.cs" validateRequest="false" AutoEventWireup="True" Inherits="web.Admin.AddOther" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AddOther</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<SCRIPT language="JavaScript">
function checkEmpty(ctrl)
{
if(ctrl.value.length<=0)
{alert("输入中不能有空!");return false;}
else{return true;}
}
function btnOpen_Click()
{
document.MainForm.TextBox2.value =document.MainForm.TextBox2.value + "<img src=\"" + window.showModalDialog("updown1.aspx") + "\" width=\"360\" height=\"280\" border=\"0\">";
}
</SCRIPT>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="MainForm" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<TR>
<td colSpan="4"><font color="#0000ff">添加其他新闻</font></td>
</TR>
<tr style="PADDING-TOP: 6px">
<td align="right" width="60">标题:</td>
<td style="PADDING-LEFT: 5px" width="280"><asp:textbox id="TextBox1" runat="server" Width="100%"></asp:textbox></td>
<td style="WIDTH: 110px" align="left" width="110"><asp:dropdownlist id="DropDownList1" runat="server">
<asp:ListItem Value="0">请选择栏目</asp:ListItem>
<asp:ListItem Value="1">电脑频道</asp:ListItem>
<asp:ListItem Value="2">手机频道</asp:ListItem>
<asp:ListItem Value="3">数码相机频道</asp:ListItem>
<asp:ListItem Value="4">MP3频道</asp:ListItem>
<asp:ListItem Value="5">办公外设频道</asp:ListItem>
</asp:dropdownlist></td>
<TD align="left" width="300"><FONT face="宋体"></FONT></TD>
</tr>
<tr>
<td colSpan="4" height="18"><FONT face="宋体"></FONT></td>
</tr>
<TR>
<TD vAlign="top" width="60">正文:</TD>
<td style="WIDTH: 416px" width="416" bgColor="#cccccc" colSpan="2" height="20"><asp:imagebutton id="ImageButton1" runat="server" Width="20px" ImageUrl="../Image/Admin/img.bmp"
Height="20px" AlternateText="插入图片"></asp:imagebutton></td>
<td width="188"><FONT face="宋体"></FONT></td>
</TR>
<TR>
<TD width="60"></TD>
<td width="700" colSpan="3"><asp:textbox id="TextBox2" runat="server" Width="416px" Height="208px" TextMode="MultiLine"></asp:textbox></td>
</TR>
<TR style="PADDING-TOP: 6px">
<TD vAlign="top" width="60"></TD>
<td width="700" colSpan="3"><asp:button id="btnAdd" runat="server" Text="添加" onclick="btnAdd_Click"></asp:button></td>
</TR>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -