Not sure what you're looking for but i'll take a guess...
When you see a page that the filename doesn't change but it can show many different products based on the query string (product.asp?prod_id=###) that means it is a dynamic page that pulls information out of something, typically a database, such as access, mysql, mssql, etc, but sometimes a text file such as CSV or XML or XLS. Microsoft Access and Microsoft SQL Server are the most common database people use with ASP.
NOT RECOMMENDED, but if there are very few products (10 or so), you might just use FSO to read the contents of a static html file. This method could be used to buy time before switching to database driven website. FSO method would look something like this:
-
<%
-
Dim ofs, ofile
-
dim prod_id : prod_id=request.querystring("prod_id")
-
select case prod_id
-
case 1
-
sFileName="product1.html"
-
case 2
-
sFileName="product2.html"
-
case 3
-
sFileName="product3.html"
-
case else
-
'load product1 by default
-
sFileName="product1.html"
-
end select
-
-
Set ofs=Server.CreateObject("Scripting.FileSystemObject")
-
Set ofile=ofs.GetFile(server.MapPath(sFileName))
-
Response.Write(ofile.ReadAll)
-
ofile.close
-
set ofile=nothing
-
set ofs=nothing
-
-
%>
-