Ragazzi, siccome serviva anche a me una cosa simile.. ho provato anche io..
vi posto il codice
[SIZE=1]<%@LANGUAGE = JScript%>
<%
var Cn = new ActiveXObject("ADODB.Connection");
Cn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" + Server.MapPath("../db/berna24.mdb"));
var Mostra = Cn.Execute("SELECT * FROM news ORDER BY data1 DESC");
Response.Write("<table width='300' border='0' bgcolor='#CCCCCC' bordercolor='#000000'>");
step=0;
conta=5;
while not Mostra.EOF
if step < conta then
Response.Write("<tr>");
Response.Write("<td><font size='1'>" + Mostra("data2") + " ---> " + Mostra("descrizione") + "</font></td>");
Response.Write("</tr>");
step=step+1;
else
Response.Write("
");
end if
Mostra.MoveNext();
end
Response.Write("</table>");
Cn.Close();
%> [/SIZE]
Mi dite cosa c'č che non va?
perchč mi da ERRORE INTERNO DEL SERVER..
:master: