Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/04/2008, 00:42
Avatar de plantala
plantala
 
Fecha de Ingreso: abril-2008
Ubicación: Jamaica
Mensajes: 176
Antigüedad: 16 años, 1 mes
Puntos: 1
Re: ayuda con permisos en asp

Aqui tienes el codigo:
----------------------------------------------------------------------------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../../../Inaug.asp" -->
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_Inaug_STRING
Recordset1.Source = "SELECT * FROM Consulta1 ORDER BY Nombre ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<table width="400" border="1">
<tr>
<td><%=(Recordset1.Fields.Item("Imagen").Value)% ></td>
<td><%=(Recordset1.Fields.Item("Nombre").Value)% ></td>
<td><%=(Recordset1.Fields.Item("Imagen").Value)% ></td>
<td><%=(Recordset1.Fields.Item("Nombre").Value)% ></td>
</tr>
</table>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
----------------------------------------------------------------------------------------
Ojala me podais ayudar...
Gracias.