温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:汽车配件公司网站(VB.net+Access数据库)源码
当前文件:
VbNetCompany/chanpin.aspx,打开代码结构图
VbNetCompany/chanpin.aspx,打开代码结构图1<%@ Page Language="vb" AutoEventWireup="true" CodeFile="chanpin.aspx.vb" Inherits="chanpin" %> 2
3
<HTML><HEAD> 4
<TITLE>汽配制造有限公司</TITLE> 5
<STYLE type=text/css></STYLE> 6
<link rel="stylesheet" type="text/css" href="css.css"> 7
</HEAD> 8
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"> 9
<form runat =server > 10
<TABLE align=center border=0> 11
<TBODY> 12
<TR> 13
<TD background=images/001.jpg height=113 width=778> </TD> 14
</TR> 15
</TBODY> 16
</TABLE> 17
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=778> 18
<TBODY> 19
<TR> 20
<TD height=39><IMG border=0 height=39 src="images/002.gif" 21
useMap=#Map2 width=778></TD> 22
</TR> 23
24
</TBODY> 25
</TABLE> 26
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=778> 27
<TBODY> 28
<TR> 29
<TD bgColor=#f0f0f0 vAlign=top> <TABLE height="172" border=0> 30
<TBODY> 31
<TR borderColor=#000000> 32
<TD bgColor=#ffe6c2 vAlign=top width=212><img src="images/c.gif" width="200" height="250"> 33
</TD> 34
<TD vAlign=top width=31> </TD> 35
<TD vAlign=top width=521><table width="100%" border="0"> 36
<tr> 37
<td><div align="center"> 38
<center> 39
<table border="0" width="500" cellspacing="0" cellpadding="0"> 40
<tr> 41
<td width="100%"> 42
43
<div align="center"> 44
<table border="0" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="2" bordercolordark="#FFFFFF"> 45
<center> 46
47
<tr> 48
<td> 49
<asp:AccessDataSource ID="SqlDataSource2" runat="server" datafile="<%$ ConnectionStrings:newsConnectionString %>" SelectCommand="Select * From pic Order By id DESC" > </asp:AccessDataSource> 50
<asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False" ShowHeader="False" GridLines="None" DataSourceID="SqlDataSource2" PageSize="2"> 51
<Columns> 52
<asp:TemplateField> 53
<ItemTemplate> 54
<table border="0" width="500" cellspacing="0" cellpadding="5" height="196"> 55
<tr> 56
<td width="42%" rowspan="6" height="134"> 57
<p align="center"><a target="_blank" href="show_pic.aspx?id=<%# Eval("id")%>"><img src="<%# Eval("pic_url")%>" alt="点击放大图片" width="194" height="134" border="0"></a></td> 58
<td width="16%" align="right" height="28">产品名称:</td> 59
<td width="42%" height="28"><%# Eval("pic_name")%></td> 60
</tr> 61
<tr> 62
<td width="16%" align="right" height="14">产品类型:</td> 63
<td width="42%" height="14"><%# Eval("pic_class")%></td> 64
</tr> 65
<tr> 66
<td width="16%" align="right" height="14">产品型号:</td> 67
<td width="42%" height="14"><%# Eval("pic_type")%></td> 68
</tr> 69
<tr> 70
<td width="16%" align="right" height="14">产品介绍:</td> 71
<td width="42%" height="14"><%# Eval("pic_text")%></td> 72
</tr> 73
<tr> 74
<td width="16%" align="right" height="14">点击数:</td> 75
<td width="42%" height="14"><%# Eval("pic_count")%></td> 76
</tr> 77
<tr> 78
<td width="16%" align="right" height="14">发布时间:</td> 79
<td width="42%" height="14"><%# Eval("pic_time")%></td> 80
</tr> 81
<tr> 82
<td height="14" colspan="3"> <hr> 83
</td> 84
</tr> 85
</table> 86
</ItemTemplate> 87
</asp:TemplateField> 88
</Columns> 89
</asp:GridView> 90
91
</td> 92
</tr> 93
</center> 94
</table> 95
96
</div> 97
</table> 98
</center> 99
</div> 100
<table width="550" border="0" align="center"> 101
<tr> 102
<td height="17"> <div align="right"></div></td> 103
</tr> 104
</table> 105
<p></p></td> 106
</tr> 107
</table> 108
<p> </p></TD> 109
</TR> 110
</TBODY> 111
</TABLE></TD> 112
</TR> 113
</TBODY> 114
</TABLE> 115
<table width="778" border="0" align="center"> 116
<tr> 117
<td width="778" height="118" bgcolor="#00734E"><div align="center"><font color="#FFFFFF">Copyright©® 118
2003-2004.汽配制造有限公司, All Rights Reserved<br> 119
120
</font></div></td> 121
</tr> 122
</table> 123
<div align="center"> 124
<MAP name=Map2> 125
<AREA coords=30,9,58,26 126
href="index.aspx" shape=RECT> 127
<AREA 128
shape=RECT 129
coords=81,8,132,29 href="news.aspx"> 130
<AREA shape=RECT coords=155,10,209,26 131
href="chanpin.aspx"> 132
<AREA 133
shape=RECT 134
coords=231,9,281,26 href="biao.aspx"> 135
<AREA shape=RECT coords=295,9,346,27 136
href="order.aspx"> 137
<AREA 138
shape=RECT 139
coords=371,9,421,27 href="guestbook.aspx"> 140
<AREA 141
shape=RECT coords=445,8,504,28 142
href="lianxi.aspx"> 143
</MAP> 144
</div> 145
</form> 146
</BODY></HTML> 147



