%@LANGUAGE="VBSCRIPT"%>
<% on error Resume Next
Dim conn
Dim rsProduct2, strSQL, strAco, strI, strAco1, strbutton, strNum2
Dim rsProduct, strID, strCriteria, strNum, strTotalRe
Dim strItem, strItemID, strDescription, strBixQty, strWeight, strColour, strCategory, strImager, strPrice
if Session("UsID")="" or Session("Country")="" then
Session("Page")="label-holders-order.asp"
response.redirect "login-to.asp"
response.end
end if
strCriteria="Label Holders"
strSQL = "SELECT * FROM newproducts where category ='" + strCriteria + "' order by partNum"
set conn = Server.CreateObject("adodb.connection")
conn.open "polyman", "polyman", "newpolyman"
set rsProduct = Conn.Execute(strSQL)
if (not rsProduct.eof) then
%>
Polyman Plastics Inc.
<%
rsProduct.close
set rsProduct=nothing
if (not rsProduct.eof) then
rsProduct2.close
set rsProduct2=nothing
end if
conn.close
set conn=nothing
else
response.write "No Data In Database"
end if
%>