ASP 网页设计代码之产品展示界面1.创立一个.......................................................................................................................................12.创立产品详细展示界面...............................................................................................................43.创立连接数据库的文件...............................................................................................................74.创立数据库...................................................................................................................................8亲爱的读友们,下面的代码是我平常工作时会做到的代码,所谓好东西大家一起分享,希望你们看了能够顺利的做出来哦最初一定要新建一个文件夹,无论放在哪里都可以,路径是虚拟路径。但是一定要吧下面几个创立的文件放在同一个文件夹里面。1.添加以下代码,这里我已经简化成最简化了。所以根本不用再继续删减了。">无标题文档
<% Bigclassname=Request("Bigclassname") Smallclassname=Request("Smallclassname")set rs=server.createobject("adodb.recordset")if Request("Bigclassname")="" thensql="select top 700 * from product order by product_ID"end ifif Request("Bigclassname")<>"" and request("smallclassanme")=""thensql="select * from product where bigclassname='"&Bigclassname&"' order by product_ID "end ifif Request("Bigclassname")<>"" and request("smallclassname")<>"" thensql="select * from product where bigclassname='"&Bigclassname&"' and Smallclassname ='"&smallclassnam...