
17/12/2006, 16:04
|
 | Colaborador | | Fecha de Ingreso: febrero-2001 Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 2 meses Puntos: 535 | |
Re: insertar datos Algo así:
Código:
rut = request.querystring("rut")
nombre = request.querystring("nombre")
sql = "select rut from usuarios where rut = '" & rut & "'"
' ejecutás la sentencia...
if rs.eof then
sql= "insert into usuarios(rut,nombre) values ('" & request.querystring("rut") & "', '" & request.querystring("rut") & "')"
set rs = conn.execute(sql)
else
response.write "el usuario con el rut " & rut & " ya existe"
end if
__________________ ...___... |