|
|
<%
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.
| Artist |
Title |
Format |
Price |
<%
Do while not rs.Eof
%>
<%
orderbutton = "" & _
"Order "
%>
| <%= rs.Fields("Artist").Value %> |
<%= rs.Fields("Album").Value %> |
<%= rs.Fields("Format").Value %> |
$<%= rs.Fields("Price").Value %>.00 <%=orderbutton%> |
| <%= rs.Fields("Description").Value %> | |
|
<%
rs.movenext
loop
%>

Top
|
|