perchè non funziona??'
ho creato un database in access ...
poi questo è il codice:
<%@LANGUAGE="VBSCRIPT"%>
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_prova1_STRING
Recordset1.Source = "SELECT foto FROM anteprima ORDER BY foto ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="60%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td></td>
</tr>
<tr>
<td><%= Server.MapPath((Recordset1.Fields.Item("cod").Valu e)) %></td>
</tr>
<tr>
<td><%= Server.MapPath((Recordset1.Fields.Item("foto").Val ue)) %></td>
</tr>
</table>
</body>
</html>
dove sbaglio???

Rispondi quotando