📄 addbook.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/HT.master" CodeFile="addbook.aspx.cs" Inherits="AddBook" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
<div id="div_bg" style="z-index: 101; left: 35px; width: 664px; position: absolute;
top: -12px; height: 598px">
<table style="width: 671px; height: 664px;">
<tr class="category">
<td style="width: 670px;" align="center" valign="middle">
<span style="color: #000066; font-family: 宋体; font-size:15px;">新书录入</span>
</td>
</tr>
<tr>
<td style="width: 670px" align="center" valign="middle">
<table cellspacing="0" cellpadding="5" style="width: 667px; height: 584px" >
<tbody>
<tr class="category">
<td colspan="2" align="left">一般信息</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
书名:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:TextBox ID="txtTitle" runat="server" Height="16px" Width="164px" ></asp:TextBox>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
出版社:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:DropDownList ID="cboPub" runat="server" Width="164px" DataSourceID="objPub" DataTextField="Name" DataValueField="Id">
</asp:DropDownList><asp:ObjectDataSource ID="objPub" runat="server" SelectMethod="selPub"
TypeName="CommBLL.SelDataSouce"></asp:ObjectDataSource>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 16px;" class="subject">
出版日期:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 16px;" align="left" valign="top">
<asp:DropDownList ID="cboYear" runat="server">
</asp:DropDownList>年
<asp:DropDownList ID="cboMother" runat="server">
</asp:DropDownList>月
<asp:DropDownList ID="cboDay" runat="server">
</asp:DropDownList>日</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
书籍类别:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 16px;" align="left" valign="top">
<asp:DropDownList ID="cboBookType" runat="server" DataSourceID="objBookType" DataTextField="Name" DataValueField="Id" Width="106px">
</asp:DropDownList><asp:ObjectDataSource ID="objBookType" runat="server" SelectMethod="selBookType"
TypeName="CommBLL.SelDataSouce"></asp:ObjectDataSource>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
单价:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:TextBox ID="txtprice" runat="server" Height="16px" Width="164px" ></asp:TextBox>
</td>
</tr>
<tr class="category">
<td colspan="2" align="left">作者信息</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
姓名:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:TextBox ID="txtAotherName" runat="server" Height="16px" Width="164px" ></asp:TextBox>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
编辑:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:TextBox ID="txtEmi" runat="server" Height="16px" Width="164px" ></asp:TextBox>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 30px;" class="subject">
作者简介:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 30px;" align="left" valign="top">
<asp:TextBox ID="txtautherComment" runat="server" Height="32px" Width="312px" TextMode="MultiLine" ></asp:TextBox>
</td>
</tr>
<tr class="category">
<td colspan="2" align="left">详细信息</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px;" class="subject">
条形码:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:TextBox ID="txtIsbn" runat="server" Height="16px" Width="164px" ></asp:TextBox>
</td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 16px;" class="subject">
字数:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 20px;" align="left" valign="top">
<asp:TextBox ID="txtwordCount" runat="server" Height="16px" Width="164px"></asp:TextBox></td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 11px;" class="subject">
图片:
</td>
<td style="width: 400px; background-color:#f7f7f7; height: 11px;" align="left" valign="top">
<asp:Image ID="Image1" runat="server" Height="64px" ImageUrl="~/image/default.jpg"
Width="75px" />
<asp:FileUpload ID="FileUpload1" runat="server" Width="180px" />
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="确定"/></td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 12px;" class="subject">
目录:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 12px;" align="left" valign="top">
<asp:TextBox ID="txttoc" runat="server" Height="33px" TextMode="MultiLine" Width="315px"></asp:TextBox></td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 11px;" class="subject">
内容简介:
</td>
<td style="width: 309px; background-color:#f7f7f7; height: 11px;" align="left" valign="top">
<asp:TextBox ID="txtComments" runat="server" Height="33px" TextMode="MultiLine" Width="314px"></asp:TextBox></td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 150px; height: 11px;" class="subject">
是否推荐:
</td>
<td style="width: 309px; background-color:#f7f7f7;" align="left" valign="top">
<asp:RadioButtonList ID="rdblstTJ" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">推 荐</asp:ListItem>
<asp:ListItem Value="0" Selected="True">不推荐</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="category">
<td colspan="2" align="center" style=" width: 736px;"><asp:Button ID="Button1" runat="server" Text="提 交" OnClick="Button1_Click" />
<input id="Reset1" type="reset" value="reset" /></td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -