addnew.aspx

来自「大中型酒店管理系统」· ASPX 代码 · 共 56 行

ASPX
56
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addnew.aspx.cs" Inherits="addnew" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
-->
</style></head>
<body>
    <form id="form1" runat="server">
    <div>
        新闻添加<br />
    
    </div>
        <table border="1" align="center" cellpadding="0" cellspacing="0" style="width: 500px">
           
            <tr>
                <td width="100">
              <asp:Label ID="Label1" runat="server" Text="新闻标题:" Width="106px"></asp:Label></td>
                <td height="30" style="width: 100px">
              <asp:TextBox ID="txttitle" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td width="100"  height: 21px">
              <asp:Label ID="Label2" runat="server" Text="作者:" Width="104px"></asp:Label></td>
                <td height="30" style="width: 100px; height: 21px">
              <asp:TextBox ID="txtauthor" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td width="100"  height: 21px">
              <asp:Label ID="Label3" runat="server" Text="内容:" Width="103px"></asp:Label></td>
                <td height="30" style="width: 100px; height: 21px">
              <asp:TextBox ID="txtcontent" runat="server" Columns="40" Rows="15" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td width="100"  height: 21px">
              <asp:Label ID="Label4" runat="server" Text="新闻图片:" Width="134px"></asp:Label></td>
                <td height="30" style="width: 100px; height: 21px">
              <input id="File1" type="file" runat="server" /></td>
            </tr>
            <tr>
                <td height="30" colspan="2" align="center" style="height: 21px">
              <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" Width="60px" /><input id="Reset1" type="reset" value="取消" onclick="history.go(-1);" style="width: 66px" /></td>
            </tr>
      </table>
        &nbsp;&nbsp;
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?