<%@ LANGUAGE="VBSCRIPT" %> <% strDBPath = Server.MapPath("../database/collectorsshop-webstore1.mdb") 'response.write strdbpath 'response.end ' Create an ADO Connection to connect to the collectorsshop database. Set cnn = Server.CreateObject("ADODB.Connection") ' The Collectorsshop database: cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strDBPath & ";" 'this is a read only record set Set rs = Server.CreateObject("ADODB.Recordset") rs.CursorType = adopenforwardonly rs.Locktype = adlockreadonly 'rs.cursortype = adopenkeyset 'rs.locktype = adlockoptimistic %> Collectorsshop.com Import CD Catalog
Collector's Shop

Search
Search Help?


New Releases
CD Catalog
DVDs  Videos
Links

Main Page .. View Cart .. E-mail .. Contact Us
New Release Import Cd


Select from these New Release Categories..
<% strSQL = "SELECT itemid,Artist, Album, Description, Price, Format" _ & " FROM items " _ & " WHERE (newrelease =-1)" _ & " AND (importCD =-1)" _ & " ORDER BY Format,Artist;" 'response.write strSQL 'response.end 'Open our recordset rs.Open strSQL, cnn, adOpenStatic, adLockReadOnly, adCmdText if rs.eof then response.write "No Records Found-Please try again." response.end End If %> <% ' Get a count of the number of records and pages iPageCurrent = rs.AbsolutePage iRecordCount = rs.RecordCount iPageCount = rs.PageCount ' Show a quick status line letting people know where they are: %> <%= iRecordCount %> Records Found. <% Do while not rs.Eof %> <% orderbutton = "" & _ "Order
" %> <% rs.movenext loop %>
Artist Title Format Price
<%= rs.Fields("Artist").Value %> <%= rs.Fields("Album").Value %> <%= rs.Fields("Format").Value %> $<%= rs.Fields("Price").Value %>.00
<%=orderbutton%>
<%= rs.Fields("Description").Value %>

up
Top