Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/02/2005, 15:31
Avatar de sjam7
sjam7
 
Fecha de Ingreso: diciembre-2001
Ubicación: Guadalajara, Mexico
Mensajes: 3.672
Antigüedad: 23 años, 4 meses
Puntos: 16
Si lo que quieres es que se cierren y olvidarte de que pasa despues...segun yo quedan cargadas en el servidor pero no se que tanto tiempo

de cualquier forma puedes cerrarlas asi

Código HTML:
sql = "select * from colegio"
Set dato = Server.CreateObject("ADODB.Connection")
dato.open "colegio"
set conexion = dato.execute(sql)

if conexion.eof then fin="si"

conexion.close
 set conexion = nothing
 dato.close
 set dato = nothing

if fin="si" then
    response.redirect "error.asp?msg=No hay colegios disponibles"
end if
__________________
CreandoWebs.com
www.creandowebs.com
PLANTILLAS TEMPLATEMONSTER CON 10% DE DESCUENTO