⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detail.aspx

📁 自己写的一个网上图书馆 可实现图书上传借阅等功能
💻 ASPX
字号:
<%@ Page language="c#" Inherits="e_librarys.Detail" CodeFile="Detail.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Detail</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	    <style type="text/css">
            #Form1
            {
                height: 11px;
                width: 679px;
            }
            .style1
            {
                width: 54px;
            }
            .style2
            {
                width: 80px;
            }
            .style3
            {
                width: 83px;
            }
            .style4
            {
                width: 72px;
            }
            .style5
            {
                width: 66px;
            }
            .style6
            {
                width: 52px;
            }
            .style7
            {
                width: 45px;
            }
            .style8
            {
                width: 43px;
            }
            .style9
            {
                width: 48px;
            }
            .style10
            {
                width: 75px;
            }
        </style>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
		   <table border=1>
		   <tr><td class="style1">
			<asp:button id="Button_Novel" style="Z-INDEX: 100; LEFT: 81px; POSITION: absolute; TOP: 7px"
				runat="server" Text="小说" Width="72px" Font-Bold="True" ForeColor="#FF9900" 
                   onclick="Button_Novel_Click1"></asp:button></td>
			<td class="style2">
                <asp:button id="Button_Poetry" style="Z-INDEX: 101; LEFT: 152px; POSITION: absolute; TOP: 8px; "
				runat="server" Text="诗歌" Width="72px" onclick="Button_Poetry_Click" Font-Bold="True" 
                    ForeColor="#FF9900"></asp:button></td>
				<td class="style3"><asp:button id="Button_ForiegnLiterature" style="Z-INDEX: 102; LEFT: 224px; POSITION: absolute; TOP: 8px; right: 502px;"
				runat="server" Text="外国文学" Width="72px" onclick="Button_ForiegnLiterature_Click" 
                        Font-Bold="True" ForeColor="#FF9900"></asp:button></td>
				<td class="style4"><asp:button id="Button_PhilosophyReligion" style="Z-INDEX: 103; LEFT: 296px; POSITION: absolute; TOP: 8px"
				runat="server" Text="哲学宗教" Width="72px" onclick="Button_PhilosophyReligion_Click" 
                        Font-Bold="True" ForeColor="#FF9900"></asp:button></td>
				<td class="style5">
                    <asp:button id="Button_PoliticsEconomics" style="Z-INDEX: 104; LEFT: 368px; POSITION: absolute; TOP: 8px"
				runat="server" Text="政治经济" Width="72px" Font-Bold="True" ForeColor="#FF9900" 
                        onclick="Button_PoliticsEconomics_Click1"></asp:button></td>
				<td class="style6">
                    <asp:button id="Button_EnglishReading" style="Z-INDEX: 105; LEFT: 440px; POSITION: absolute; TOP: 8px"
				runat="server" Text="英语读物" Width="72px" Font-Bold="True" ForeColor="#FF9900" 
                        onclick="Button_EnglishReading_Click1"></asp:button></td>
				<td class="style7">
                    <asp:button id="Button_ComputerBooks" style="Z-INDEX: 106; LEFT: 512px; POSITION: absolute; TOP: 8px"
				runat="server" Text="电脑书籍" Width="72px" Font-Bold="True" ForeColor="#FF9900" 
                        onclick="Button_ComputerBooks_Click1"></asp:button></td>
				<td class="style8">
                    <asp:button id="Button_MathPhysicsChemistry" style="Z-INDEX: 107; LEFT: 584px; POSITION: absolute; TOP: 8px"
				runat="server" Text="数理化" Width="72px" Font-Bold="True" ForeColor="#FF9900" 
                        onclick="Button_MathPhysicsChemistry_Click1"></asp:button></td>
			<td class="style9"><asp:button id="Button_HomePage" style="Z-INDEX: 108; LEFT: 8px; POSITION: absolute; TOP: 8px"
				runat="server" Text="首页" Width="72px" onclick="Button_HomePage_Click" Font-Bold="True" 
                    ForeColor="#FF9900"></asp:button></td>
			<td class="style10">
                <asp:button id="Button_All" style="Z-INDEX: 112; LEFT: 656px; POSITION: absolute; TOP: 8px"
				runat="server" Width="72px" Text="全部" Font-Bold="True" Font-Italic="True" 
                    ForeColor="#996600" onclick="Button_All_Click1"></asp:button>
				</td></tr>
			 </table>
			<TABLE id="Table2" style="Z-INDEX: 111; LEFT: 10px; WIDTH: 715px; POSITION: absolute; TOP: 49px; HEIGHT: 20px"
				cellSpacing="1" cellPadding="1" border="0" runat="server">
				<TR>
					<TD bgColor="lightgrey">&nbsp;</TD>
				</TR>
			</TABLE>
			<asp:datalist id="DataList_Detail" style="Z-INDEX: 109; LEFT: 5px; POSITION: absolute; TOP: 91px;  margin-right: 0px;"
				runat="server">
				<ItemTemplate>
					<table border="0">
						<tr bgcolor="lightgrey">
							<td colspan="2" align="center" style="HEIGHT: 40px;"><font color="DarkOrange"><%#DataBinder.Eval(Container.DataItem,"B_Name")%></font></td>
						</tr>
						<tr>
							<td rowspan="15"><img src='picture\<%#DataBinder.Eval(Container.DataItem,"B_Img")%>' width=170 height=260></td>
							<td>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">作者:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_Director")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">出版社:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_Issuer")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">出版时间:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_PublishTime")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">总字数:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_WordSum")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">总页数:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_PageSum")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">添加时间:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_AddTime")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">租价:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"P_Price")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">押金:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"P_Deposit")%></font></td>
						</tr>
						<tr>
							<td align="left"><font size="2" color="DarkOrange">滞纳金:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"P_LateFee")%></font></td>
						</tr>
						<tr>
							<td colspan="2" bgcolor="LightGrey">
							</td>
						</tr>
						<tr>
							<td colspan="2" bgcolor="LightGrey">
							</td>
						</tr>
						<tr>
							<td colspan="2" bgcolor="LightGrey"><font size="2" color="DarkOrange">内容简介:</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_Content")%></font>
							</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
						</td> </tr>
						<tr>
							<td colspan="2" bgcolor="LightGrey">
							</td>
						</tr>
						<tr align="right">
							<td colspan="2" bgcolor="LightGrey" align="right" style="HEIGHT: 40px;">
								<a href='Tenancy.aspx?BookId=<%#DataBinder.Eval(Container.DataItem,"B_ID")%>' target=_blank>
									<font size="3">[租赁]</font></a><font size="2"><font size="2" color="DarkOrange">状态:</font><%#DataBinder.Eval(Container.DataItem,"B_Count")%></font>
								<font size="2">/出租</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_RentCount")%></font>
								<font size="2">/评价</font><font size="2"><%#DataBinder.Eval(Container.DataItem,"B_RankCount")%></font>
							</td>
						</tr>
					</table>
					<br>
					<br>
					<br>
				</ItemTemplate>
			</asp:datalist>
			
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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