📄 bookadd.aspx
字号:
<%@ Page language="c#" Codebehind="bookadd.aspx.cs" AutoEventWireup="false" Inherits="HKeBookshop.bookmanager.addbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>addbook</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">
<LINK href="/HKeBookshop/style.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" style="WIDTH: 500px; HEIGHT: 176px" cellSpacing="0" cellPadding="0"
width="500" border="0">
<TR>
<TD style="HEIGHT: 42px" align="center" colSpan="3" class="title">添加图书</TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 21px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">书籍编号</DIV>
</TD>
<TD style="HEIGHT: 21px">
<asp:TextBox id="bookid" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="书籍编号不能为空" ControlToValidate="bookid"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 9px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">书名</DIV>
</TD>
<TD style="HEIGHT: 9px">
<asp:TextBox id="bookname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="bookid" ErrorMessage="书名不能为空"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 7px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">价格</DIV>
</TD>
<TD style="HEIGHT: 7px">
<asp:TextBox id="price" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="price" ErrorMessage="价格不能为空"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 1px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">日期</DIV>
</TD>
<TD style="HEIGHT: 1px">
<asp:TextBox id="date" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ControlToValidate="date" ErrorMessage="日期不能为空"></asp:RequiredFieldValidator><FONT face="宋体">(请按年-月-日的格式输入)</FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 3px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">作者</DIV>
</TD>
<TD style="HEIGHT: 3px">
<asp:TextBox id="write" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" ControlToValidate="write" ErrorMessage="作者不能为空"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 11px">图片</TD>
<TD style="HEIGHT: 11px"><INPUT type="file" id="File1" name="File1" runat="server"></TD>
</TR>
<TR>
<TD style="WIDTH: 77px; HEIGHT: 12px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">备注</DIV>
</TD>
<TD style="HEIGHT: 12px">
<asp:TextBox id="beizhu" runat="server" Width="248px" TextMode="MultiLine"></asp:TextBox></TD>
</TR>
<TR>
<TD style="WIDTH: 77px">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">书籍类别</DIV>
</TD>
<TD>
<asp:DropDownList id="DropDownList1" runat="server" Width="128px"></asp:DropDownList></TD>
</TR>
<TR>
<TD align="center" colSpan="2">
<asp:Label id="sure" runat="server" Visible="False" ForeColor="Red">添加成功</asp:Label>
<asp:Button id="Button2" runat="server" Text="添加"></asp:Button></TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -