% dong = trim(request("dong")) bIsSearched = false if dong <> "" then Set con=Server.CreateObject("ADODB.Connection") Set rs =Server.CreateObject("ADODB.RecordSet") con.CursorLocation=1 con.Open strConnect sql="SELECT ZipCode,SiDo,GuGun,Dong,BunJi FROM zipcode Where Dong LIKE '%" &Dong& "%'" 'Set rs = con.Execute(sql) rs.CursorLocation = 2 rs.Open sql,con,3 'response.Write rs.RecordCount : response.End bIsSearched = true end if ctlnames = Split(GetEnv,",") fv_pf = ctlnames(1) fv_zipleft = ctlnames(3) fv_zipright = ctlnames(5) fv_address = ctlnames(7) %>
<% set rs=nothing set con=nothing %>