% ShowSmallClassType=ShowSmallClassType_Article dim ArticleID ArticleID=trim(request("ArticleID")) if ArticleId="" then response.Redirect("Product.asp") end if sql="select * from Product where ArticleID=" & ArticleID & "" Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,3 if rs.bof and rs.eof then response.write"" else rs("Hits")=rs("Hits")+1 rs.update BigClassName=rs("BigClassName") SmallClassName=rs("SmallClassName") %>