实例介绍
【实例简介】
asp.net网上书店,asp.net网上书店包含主页面和access数据库
【实例截图】
【核心代码】
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>宜书阁</title>
<style>
.STYLE3 {font-size: 12px; color: #FF0000; font-weight: bold; }
.STYLE4 {font-size: 14px}
.STYLE5 {font-size: 12px}
.STYLE9 {color: #FF0000}
.STYLE11 {
color: #FF0000;
font-size: 13px;
font-weight: bold;
}
.STYLE12 {
font-size: 13px;
font-weight: bold;
}
.STYLE15 {font-size: 12px; color: #FF0000; }
.STYLE17 {font-size: 13px; color: #000000; }
.STYLE20 {font-size: 12px; color: #3300FF; }
.STYLE21 {
color: #660000;
font-weight: bold;
}
.STYLE26 {font-size: 13px; font-weight: bold; color: #660000; }
.STYLE32 {font-size: 13px; color: #FF0000; }
.STYLE34 {
font-size: 14px;
color: #000000;
font-weight: bold;
font-style: italic;
}
.STYLE37 {font-size: 14px; color: #000000; }
.STYLE41 {font-size: 14px; font-weight: bold; color: #660000; }
#IMG1 {
float: right;
}
.auto-style1 {
width: 113px;
}
.auto-style2 {
width: 96px;
}
.auto-style3 {
width: 79%;
height: 195px;
}
.auto-style4 {
width: 100%;
height: 285px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="880" height="1000" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="800" valign="top" bgcolor="#FFFFFF">
<table width="880" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19" background="images/01_11.gif"> </td>
</tr>
</table>
<table width="880" height="62" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/456t.png" width="880" height="123" /></td>
</tr>
</table>
<table width="880" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="97" height="34" align="center" background="images/untitled.gif"> </td>
<td width="80" align="center" background="images/untitled.gif"><span class="STYLE41"> <a href="index.aspx" target="_blank">首页</a></span></td>
<td align="center" background="images/untitled.gif" class="auto-style1"><span class="STYLE41"> <a href="新书推荐.aspx" target="_blank">新书推荐</a></span></td>
<td align="center" background="images/untitled.gif" class="auto-style2"><span class="STYLE41"> <a href="图书分类.aspx" target="_blank">分类浏览</a></span></td>
<td width="243" align="left" background="images/untitled.gif"><span class="STYLE41"> <a href="留言.aspx" target="_blank">留言</a> </span></td>
</tr>
</table>
<table width="880" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="355" height="33" align="right" background="images/未标zxdf题-1.gif">
</td>
<td width="75" align="right" background="images/未标zxdf题-1.gif"> </td>
<td background="images/未标zxdf题-1.gif">
</td>
</tr>
</table>
<table width="880" height="160" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="23" height="38" align="left" valign="top"> </td>
<td colspan="2" align="left" valign="middle"><img src="images/tuijian.png" height="44" style="width: 577px" /></td>
</tr>
<tr>
<td height="116" align="left" valign="top" colspan="2"> </td>
<td width="631" align="left" valign="top">
<div>
<table class="auto-style3">
<tr>
<td>
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/b1.jpg" Height="120px" Width="91px" />
</td>
<td>
<asp:Image ID="Image2" runat="server" ImageUrl="~/images/b2.jpg" Height="120px" Width="91px" />
</td>
<td>
<asp:Image ID="Image3" runat="server" ImageUrl="~/images/b3.jpg" Height="120px" Width="91px" />
</td>
<td>
<asp:Image ID="Image4" runat="server" ImageUrl="~/images/b4.jpg" Height="120px" Width="91px" />
</td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table width="874" height="60" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0">
<tr>
<td width="242" height="909" align="center" valign="top"><table border="1" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0" style="height: 180px; width: 219px">
<tr>
<td height="218" valign="top" bgcolor="#FFFFFF"><table width="238" border="0" cellpadding="0" cellspacing="0" style="border-color: #C0C0C0; height: 149px;">
<tr>
<td height="19" colspan="2" bgcolor="#FFFFFF">
<br />
<br />
</td>
</tr>
<tr>
<td width="59" height="28" align="center" bgcolor="#FFCC99" style="background-color: #C0C0C0">
</td>
<td width="179" align="left" bgcolor="#FFCC99" style="background-color: #C0C0C0"><span class="STYLE26" style="background-color: #C0C0C0; color: #FFFFFF;"> 用户登录
</span></td>
</tr>
<tr>
<td height="32" align="center"><span class="STYLE5">用户名:</span></td>
<td height="32">
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true"></asp:TextBox>
</td>
</tr>
<tr>
<td height="30" align="center"><span class="STYLE5">密 码:</span></td>
<td height="30">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2"> <asp:CheckBox ID="CheckBox1" runat="server" Text="记住用户名密码" />
</td>
</tr>
<tr>
<td colspan="2"> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="登陆" />
<asp:Button ID="Button2" runat="server" Text="重置" OnClick="Button2_Click" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="Label1" runat="server" Visible="False" Width="105px"></asp:Label>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="238" height="840" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFF99">
<tr>
<td height="300" valign="top" bgcolor="#FFFFFF"><table width="238" height="36" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="56" height="36" align="center" bgcolor="#FFFF99"> </td>
<td width="182" align="left" bgcolor="#FFFF99"><span class="STYLE26">图书分类</span></td>
</tr>
</table>
<br />
<br />
<asp:Image ID="Image5" runat="server" ImageUrl="~/images/1371.gif" />
<br />
<br />
<table class="auto-style3">
<tr>
<td>
<a href="图书分类.aspx" target="_blank"><asp:Image ID="Image14" runat="server" Height="49px" ImageUrl="~/images/1a.png" Width="187px" /></a>
</td>
</tr>
<tr>
<td>
<a href="图书分类.aspx" target="_blank"> <asp:Image ID="Image15" runat="server" Height="49px" ImageUrl="~/images/2a.png" Width="187px" /></a>
</td>
</tr>
<tr>
<td>
<a href="图书分类.aspx" target="_blank"><asp:Image ID="Image16" runat="server" Height="49px" ImageUrl="~/images/3a.png" Width="187px" /></a>
</td>
</tr>
<tr>
<td>
<a href="图书分类.aspx" target="_blank"><asp:Image ID="Image17" runat="server" Height="49px" ImageUrl="~/images/4a.png" Width="187px" /></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<td width="626" valign="top"><table width="626" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="626" height="102" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><img src="images/98.jpg" width="624" height="170" id="IMG1" onclick="return IMG1_onclick()" /></td>
</tr>
</table>
<table width="626" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /><img src="images/bg2.gif" width="3" height="1" /></td>
</tr>
</table>
<table width="626" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="76" height="26" align="center" bgcolor="#FEEDDE"> </td>
<td width="435" bgcolor="#FEEDDE"><span class="STYLE34">精品欣赏</span></td>
<td width="115" bgcolor="#FEEDDE"> </td>
</tr>
</table>
<div style="text-align: center">
<div style="text-align: center">
<table border="1" cellpadding="0" cellspacing="0" style="left: 0px; width: 600px;
position: relative; top: 0px; height: 131px">
<tr>
<td colspan="2" style="height: 83px">
<table class="auto-style4">
<tr>
<td>
<asp:Image ID="Image18" runat="server" ImageUrl="~/images/xled.gif" />
</td>
</tr>
<tr>
<td>内容简介:<br />
“市委秘书长”无疑是特殊的职位,坐上这位置就意味着最自然地接触各路人马,看到、听到、了解到一般人无法了解的事实,很多时候,又并没有那么消息灵通,却还得假装通透;必须在在最需要的时间、地点随时出现,又得随时准备留守'把一切看在眼里,是最清醒的参与者,又是最“近视”的局外人,不能从属于何派系;要慎行,不能有丝毫懈怠;必须是最能踩着钢丝跳舞的人.</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</form>
</form>
</body>
</html>
标签: asp.net 网上书店 .NET NET aspasp.net网上书店
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论