sladewilson
Programmer
I am building a price comparison ASP app. What would be the proper syntax to have the app show the best 10 prices for a given productID.
In other words I want to display the best 10 prices ONLY. There might be 30 prices for the given product but we only want to show the best 10.
----------------------------
This is my code for now.... it shows all records for a given Product ID.
<% DO WHILE NOT rsObj.EOF %>
<% Response.Write rsObj("StoreName"
%> <% Response.Write rsObj("Price"
%>
<%
rsObj.MoveNext
Loop
%>
In other words I want to display the best 10 prices ONLY. There might be 30 prices for the given product but we only want to show the best 10.
----------------------------
This is my code for now.... it shows all records for a given Product ID.
<% DO WHILE NOT rsObj.EOF %>
<% Response.Write rsObj("StoreName"
<%
rsObj.MoveNext
Loop
%>