
08/12/2002, 13:20
|
| | Fecha de Ingreso: noviembre-2002
Mensajes: 18
Antigüedad: 22 años, 5 meses Puntos: 0 | |
ayuda urgente <%
Set oConn = Server.CreateObject ("ADODB.Connection")
Set RS = Server.CreateObject ("ADODB.RecordSet")
oConn.Open "Driver={Microsoft Access Driver (*.mdb)}; " & "Dbq=" & Server.MapPath("novedades.mdb")
sql ="SELECT TOP 5 * FROM novedades WHERE noticia ORDER BY id DESC"
RS.Open sql, oConn %>
</p>
<%Left cadena, cantidad%>
<p align="center"><font face="Arial" size="5" color="#0080C0"><%=result("titulo")%></font></p>
<p align="justify"><font face="Arial" size="3"><%=Left(result("noticia"),1550)%>
<% noticia = Replace(result("noticia"), chr(13), "<br>")
Response.Write(noticia)
%>
ESTE CONDIGO ME INSERTA UNA NOTICIA EN UNA PARTE DE LA PAGINA ASP , AHORA ME SALE UN ERROR Y QUIERO SABER POR QUE ?
EL CODIGO DE ERROR ES :
NO COINCIDE LOS result
GRACIAS A QUIEN ME AYUDE |