<% if session("username")<> "" then%> <% '**********************getting variables*********************** catalog_no=request.QueryString("vwr_scied") table=request.QueryString("table") desc_table=request.QueryString("desc") filelink= table + ".asp" %> <% '**********************code to retrive img and short desc of item ****************** strsql1="select * from "& desc_table & " where catalog_no='"&catalog_no&"' " set rs1=server.CreateObject("Adodb.recordset") 'response.Write(strsql1 & "
") rs1.open strSql1,conn,2,2 img_url=rs1.fields("img_url") big_img_url=rs1.fields("big_img_url") %>
BOROSIL® An ISO 9002 Company
 
   Home   
 
About Us
 
Products
 
Downloads
 
Contact Us
<% '*******************code to retrive category description ******************* url=table+".asp" ' response.Write(url) strsql="select * from vwr where File_Url='"&url&"' " set rs=server.CreateObject("Adodb.recordset") 'response.Write(strsql & "
") rs.open strSql,conn,2,2 if rs.eof=false then stritemcategory=rs.fields("category") %>
<% response.Write(rs.fields("category"))%>
<% response.Write(rs.fields("category_description")) end if rs.close %>
 
 
<%=catalog_no%>
<%= catalog_no %> <%= stritemcategory %>
 See Other  <%= stritemcategory%>
 
 
 
 
 
 
 
 
 
 
 
Home -- Products -- <%= stritemcategory%>
<%if rs1.fields("ASTM Standard") <> "" then%> <%end if%> <% rs1.close %>
<%=rs1.fields("Catalog_no")%> - <%=rs1.fields("Product_desc")%>
ASTM Standard : <%=rs1.fields("ASTM Standard")%>
<% ' ***************************code to retrive all Capacity n details ********************* strsql2="select * from "& table & " where vwr_scied='"&catalog_no&"' " set rs2=server.CreateObject("Adodb.recordset") 'response.Write(strsql2 & "
") rs2.open strSql2,conn,2,2 %> <% ' *****************writing field names as Table heading **************************** cnt=0 for each x in rs2.Fields if isnull(x.value)=false and x.value<>catalog_no then 'if isnull(x.value)=false then response.write("") end if cnt=cnt+1 next%> <% ' *****************writing Table Data ie capacity n all as Table Rows **************************** do until rs2.EOF%> <%for each x in rs2.Fields%> <%if isnull(x.value)=false and x.value<>catalog_no then %> <%'if isnull(x.value)=false then %> <%end if%> <%next rs2.MoveNext %> <% loop rs2.close %>
" & x.name & "
<%Response.Write(x.value)%>
 
 
 
 
 
 
 
 
<%Set rsc = Server.CreateObject("ADODB.Recordset") strsql="select * from vwr " rsc.Open strSql, conn do until rsc.EOF nlink=rsc("file_url") %> <% rsc.close conn.close %>
<%Response.Write("" & rsc("category") & "")%> <% rsc.MoveNext loop %>
 
About Us | Products | Sitemap | Copyrights | Terms & Conditions
 
Copyrights @ 2005. All Rights Reserved. BOROSIL® Glass Works Limited.
<% else response.Redirect("http://www.borosil.com/checklogin.asp") ' response.Redirect("http://localhost/finaltest/checklogin.asp") end if %>