Grazie per il tuo aiuto, ho fatto così ma mi dava due problemi uno in array e l'ho modificato in arrays e l'altro nel ciclo if, ora mi da un 3 errore:
codice:
<%
I=1
SQLCASE = "SELECT DISTINCT F2,F1 FROM [Sheet1$] WHERE F2<>''"
Set DBCCASE = connessionExcel.Execute (SQLCASE)
if not DBCCASE.EOF then
arrays=DBCCASE.getrows
colonne=ubound(arrays,1)
righe=ubound(arrays,2)
for i=0 to righe
ii=i-1
if i>0 and arrays(1,ii)<>arrays(1,i) then
response.write(arrays(i))&"</br>"
end if
next
else
response.write "Errore"
end if
set connesionExcel = nothing
set DBCCASE = nothing
set SQLCASE = nothing
%>
codice:
Tipo di errore:
Errore di run-time di Microsoft VBScript (0x800A0009)
Indice non incluso nell'intervallo: '-1'
/dbe/configuratore.asp, line 20
a cosa si riferisce?