📄 bookinfo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/QT.master" CodeFile="bookInfo.aspx.cs" Inherits="bookInfo" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<div style="z-index: 101; left: -8px; width: 705px; position: absolute; top: 0px;
height: 710px;">
<table style="width: 722px;">
<tr class="category">
<td style="width: 500px; color:Gray;" align="left">
图书详细
</td>
<td style="width:222px; color:Gray;" align="left">读者评论</td>
</tr>
<tr>
<td style="width: 500px">
<asp:DetailsView ID="dtlbook" runat="server" Width="500px" AutoGenerateRows="False">
<Fields>
<asp:TemplateField>
<ItemTemplate>
<table cellspacing="0" cellpadding="5" style="width: 500px;" >
<tbody>
<tr class="row" >
<td style="width: 120px;" class="subject" align="center" valign="middle">
<asp:Image ID="Image1" runat="server" Width="95%" ImageUrl='<%#Eval("Img") %>' Height="100px" /></td>
<td style="width: 380px; background-color:#f7f7f7;" align="left" valign="top">
<ul style="LIST-STYLE-TYPE: none; margin:12px;">
<li style="color:Navy;">
<asp:Label
ID="lblTitle" runat="server" Text='<%#Eval("Title") %>'></asp:Label>
<span style="margin:0px 0px 0px 30px">简拼:<%#Eval("SimplePY")%></span></li><li style="color:Gray;">作者:<%#Eval("Author") %> 著<span style="margin:0px 0px 0px 20px">编辑:<%#Eval("EditorComment")%></span></li><li style="color:Gray;"><span>出版社:<%#Eval("Pub.Name") %></span><span style="margin:0px 0px 0px 30px">出版日期:<%#Eval("PublishDate")%></span></li><li >书籍类别:<%#Eval("BookType.Name")%><span style="MARGIN: 0px 5px 0px 160px;">字数:<%#Eval("WordsCount")%>万</span></li><li ><span style="color:Red;">单价:
<asp:Label
ID="lblUnitPrice" runat="server" Text='<%#Eval("UnitPrice") %>'></asp:Label>
</span >元<span style="MARGIN: 0px 5px 0px 170px;">条形码:<%#Eval("ISBN") %></span></li></ul>
</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 class="subject" colspan="2">
<asp:TextBox ID="TextBox5" runat="server" Width="500px" TextMode="MultiLine" Text='<%#Eval("TOC") %>' Height="150px" ></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 class="subject" colspan="2">
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Width="500px" Text='<%#Eval("ContentDescription") %>' Height="150px"></asp:TextBox></td>
</tr>
<tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'"
onmouseout="this.style.backgroundColor='#ffffff'">
<td style="width: 500px; background-color:#f7f7f7;" align="left" colspan="2">
<asp:ImageButton ID="btnbuydeng" runat="server" ImageUrl="~/image/z_save.gif" CommandArgument='<%#Eval("Id")%>' CommandName="gg" OnCommand="btnbuydeng_Command" />
<span style="MARGIN: 0px 5px 0px 150px;">点击数:<%#Eval("Clicks")%>|评论数:<%#Eval("Pj")%></span>
</td>
</tr>
</tbody>
</table>
</ItemTemplate>
</asp:TemplateField>
</Fields>
</asp:DetailsView>
</td>
<td>
<div style="width:200px;height: 523px; display: block; visibility: visible; overflow: scroll; clip: rect(2px 0px 5px 10px); background-color: #fffff8;">
<asp:DataList ID="DataList1" runat="server" Width="245px">
<ItemTemplate>
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li ><span style="color:Gray;">时间:<%#Eval("Date") %></span ></li>
<li ><span style="color:Gray;">发表人:<%#Eval("User.Name")%></span ></li>
<li><%#Eval("Comment")%></li>
</ul>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #cfcfcf; height: 1px" />
</SeparatorTemplate>
</asp:DataList>
</div>
</td>
</tr>
<tr class="category">
<td style="width: 700px; color:Gray;" align="left" colspan="2">
发表评论</td>
</tr>
<tr class="row" >
<td style="width: 700px; height: 130px;" align="left" valign="top" colspan="2">
<table style="width: 711px; height: 157px;">
<tbody>
<tr class="row">
<td class="subject">
内容
</td>
<td align="left" valign="top" style="width: 671px">
<asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Width="668px" Height="114px"></asp:TextBox>
</td>
</tr>
<tr class="row" >
<td align="left" valign="top" colspan="2" style="height: 27px">
<asp:Button ID="btnfb" runat="server" Text="发 表" OnClick="btnfb_Click" />
<asp:Button ID="btnfh" runat="server" Text="退 出" />
<span style="MARGIN: 0px 5px 0px 100px;"></span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -