
11/03/2002, 18:36
|
 | | | Fecha de Ingreso: marzo-2002
Mensajes: 110
Antigüedad: 23 años, 2 meses Puntos: 0 | |
Re: Error Base de Datos (ayuda!!!) Pongo todo el codigo asi podes evaluarlo...
te juro que estoy desconcertado...
<%@ Language="VBScript" %>
<html>
<head>
<title>Listado de la Base de Datos</title>
</head>
<body bgcolor="#FFFFFF">
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b>Listado
de Cuentas de Correo </b></font><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>
</tr>
<%
Dim Conexion,Tabla
Set Conexion=Server.CreateObject("adodb.connectio n")
Set Tabla=Server.CreateObject("adodb.recordset&qu ot;)
Conexion.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\Inetpub\wwwroot\bd\bd1.mdb"
Tabla.Open "Usuarios",Conexion
While Not Tabla.EOF
%>
<tr>
<td width="33%"><%=Tabla.Fields(" Nombre")%></td>
<td width="33%"><%=Tabla.Fields(" Apellido")%></td>
</tr>
<%
Tabla.MoveNext
Wend
Conexion.Close
Tabla.Close
Set Conexion = nothing
Set Tabla = nothing
%>
</table>
</center></div>
</body>
</html> |