Ver Mensaje Individual
  #10 (permalink)  
Antiguo 28/07/2004, 05:19
Avatar de clara2004
clara2004
 
Fecha de Ingreso: junio-2004
Ubicación: Argentina, capital federal barrio de Palermo
Mensajes: 160
Antigüedad: 20 años, 10 meses
Puntos: 0
mirá este es el código de la page.

<%
Dim Conn
Set Conn= Server.CreateObject ("ADODB.Connection")
Conn.Open("DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("/db/noticias.mdb"))
Set registros = Server.createobject("ADODB.Recordset")
registros.Open "SELECT * FROM 2003 ORDER titulo, fecha, contenido", Conn
while not registros.EOF()
response.write registros(0)&"<br>" registros.MoveNext
Wend
%>
<html>
<head>
<title>Redaccion de las Noticias</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
@import url("mas.css");
-->
</style>
</head>

<body>
<form action="" method="post" name="noticias" id="noticias">
<strong>Nueva Noticia </strong>
<table width="75%" border="0" cellspacing="5" cellpadding="2">
<tr>
<td width="52%">T&iacute;tulo</td>
<td width="48%"><input name="textfield" type="text" size="30">
</td>
</tr>
<tr>
<td>Fecha</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Contenido</td>
<td><textarea name="textarea"></textarea></td>
</tr>
<tr>
<td align="center">
<input type="submit" name="Submit" value="Enviar">
</td>
<td align="center">
<input type="reset" name="Submit2" value="Restablecer">
</td>
</tr>
</table>
</form>
</body>
</html>

la subo a la pag y nada
gracias por todo