Modificare il file:
\Buoni_Spesa_2015\Stampa_Index.asp
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <% var Cn = new ActiveXObject("ADODB.Connection"); Cn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" + Server.MapPath("/mdb-database/Buoni_Spesa_2015.mdb")); var Mostra = Cn.Execute("SELECT * FROM Buoni_Spesa"); Response.Write("<table border='1'>"); while (!Mostra.EOF) { with (Response) { Write("<tr>"); Write("<td><a href='stampa.asp?N_Buono_id=" + Mostra("N_Buono_id") + "' target='_blank'> Stampa </a></td>"); Write("<td>" + Mostra("N_Buono_ID") + "</td>"); Write("<td>" + Mostra("Cognome_nome") + "</td>"); Write("<td>" + Mostra("importo") + "</td>"); Write("<td>" + Mostra("durata") + "</td>"); Write("<td>" + Mostra("titolare") + "</td>"); Write("</tr>"); } Mostra.MoveNext(); } Response.Write("</table>"); Cn.Close(); %> <!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=utf-8" /> <title>Stampa BUONO SPESA</title> </head> <body> <p><a href="index.html"><img src="images/Esci.png" width="90" height="90"></a></p> </body> </html>
[
Íàçàä
]