% dim strOpt,strSroType,sqlText,strFromYear,strToYear set Conn=server.createobject("adodb.connection") Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("../database/SRO.mdb") strOpt = Request.QueryString("opt") strSroType = Request.QueryString("SroType") if strOpt <> "" and strSroType <> "" then Session("strOpt")= strOpt Session("strSroType")=strSroType end if if Request("btnSearch")="Search" then Response.Redirect "NonTDateTypeSro.asp?sroFromYear=" & Request("FromYear") & "&sroToYear=" & Request("ToYear") end if %>
|
|