% Set rs = Server.CreateObject("ADODB.RecordSet") rs.Open "select * from [config]",conn,1,1 if rs.recordcount<>0 then sotop=rs("sotop") sobottom=rs("sobottom") end if rs.close set rs=nothing Response.Write sotop %>