AYUDA!, SOY PRINCIPIANTE
Publicado por Jorge (13 intervenciones) el 28/03/2001 21:30:06
HOLA!, ESTOY INICIANDO EN LA PROGRAMASION DE ASP, HICE UN PEQUEÑO PROGRAMA PARA VER MIS DATOS DE UN BD QUE TNEGO PERO ME SALE UN ERROR EN LA LINEA 20, A CONTINUACION LES ESCRIBO MI CODIGO Y EL ERROR QUE ME GENERA.
<%@ 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.connection")
Set Tabla=Server.CreateObject("adodb.recordset")
Conexion.Open "Correo"
Tabla.Open "Tabla1",Conexion
While Not Tabla.EOF
%>
<tr>
<td width="33%"><%=Tabla.Fields("Nombre")%>
</td>
<td width="33%"><%=Tabla.Fields("Apellido")%>
</td>
<td width="33%"><ahref="mailto:<%=Tabla.Fields("Email")%>"><%=Tabla.Fields("Email")%></td>
<td>/tr> <%
Tabla.MoveNext
Wend
%> </td>
</tr>
</table>
</center></div>
</body>
</html>
ME MARCA E
<%@ 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.connection")
Set Tabla=Server.CreateObject("adodb.recordset")
Conexion.Open "Correo"
Tabla.Open "Tabla1",Conexion
While Not Tabla.EOF
%>
<tr>
<td width="33%"><%=Tabla.Fields("Nombre")%>
</td>
<td width="33%"><%=Tabla.Fields("Apellido")%>
</td>
<td width="33%"><ahref="mailto:<%=Tabla.Fields("Email")%>"><%=Tabla.Fields("Email")%></td>
<td>/tr> <%
Tabla.MoveNext
Wend
%> </td>
</tr>
</table>
</center></div>
</body>
</html>
ME MARCA E
Valora esta pregunta
0