%@LANGUAGE = VBScript%> <% Dim sc, cn, rs sc = "driver={Microsoft Access Driver (*.mdb)};dbq=" Set cn = Server.CreateObject("ADODB.Connection") cn.Open sc & Server.MapPath ("/mdb-database/Buoni_Spesa_2015.mdb") Set rs = Server.CreateObject("ADODB.Recordset") %>
Inserisci il Cognome e Nome del beneficiario del Buono Spesa
<% Else rs.Open "Buoni_spesa", cn, 3, 3 rs.AddNew rs("Cognome_nome") = UCase(Cognome_nome) rs("Importo") = Importo rs("Durata") = UCase(Durata) rs("Titolare") = UCase(Titolare) rs("Scade") = Scade rs("Emesso") = Emesso rs("Chiuso") = Chiuso rs.Update rs.Close %>
<% End If End If %>
<% Set rs = Nothing cn.Close Set cn = Nothing %>