Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/02/2002, 14:32
jfalco
 
Fecha de Ingreso: enero-2002
Mensajes: 31
Antigüedad: 23 años, 3 meses
Puntos: 0
No encuentro el Error

A ver si alguien me hecha una mano.

Para practicar con DB he copiado de un tutorial el código para después modificarlo
y adaptarlo a mis necesidades. Bueno he copiado y pegado esto:


<%@ Language="VBScript" %>
<html>
<head>
<title>Listado de la Base de Datos</title>
</head>
<body>
<big><big><p>Listado de Cuentas de Correo</big></big> <br><br></p>
<div align="center"><center>
<table border="3" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="33%"><big>Nombre</big></td>
<td width="33%"><big>Apellido</big></td>
<td width="33%"><big>Email</big></td>
</tr>
<%
Dim Conexion,Tabla
Set Conexion=Server.CreateObject("adodb.connectio n")
Set Tabla=Server.CreateObject("adodb.recordset&qu ot;)
Conexion.Open "Correo"
Tabla.Open "tabla1",Conexión
While Not Tabla.EOF
%>
<tr>
<td width="33%"><%=Tabla.Fields(" Nombre")%></td>
<td width="33%"><%=Tabla.Fields(" Apellido")%></td>
<td width="33%"><a
href="mailto:<%=Tabla.Fields("Email&q uot;)%>"><%=Tabla.Fields("Email ")%></a></td>
</tr>
<%
Tabla.MoveNext
Wend
%>
</table>
</center></div>
</body>
</html>

ME DA EL SIGUIENTE ERROR:

Error de compilación de Microsoft VBScript error '800a0408'

El carácter no es válido

/asp/prueba/listados.asp, line 20

Tabla.Open "mecagoendios",Conexión
--------------------------------^

A ver si alguien me ayuda a espabilar con el dichoso ASP. Gracias. :( :P