Ciao Alka. Grazie per la tua disponibilità!
Ecco il codice. L'ho trovato nella guida in linea della Microsoft.
Function GetForm() As String
Dim strForm As String
Dim loop1 As Integer
Dim arr1() As String
Dim coll As NameValueCollection
' Load Form variables into NameValueCollection variable.
coll = Request.Form
arr1 = coll.AllKeys ' Get names of all forms into a string array.
For loop1 = 0 To UBound(arr1)
strForm = strForm & "Form: " & arr1(loop1) & "
"
Next loop1
Return strForm
End Function
Da quello che ho capito, questa funzione cerca le form aperte, tramite un ciclo loop.
Chiaramente ho importato il System.Collections.Specialized. Però non funziona perché nella riga 'coll = Request.Form' mi dice che Request non è dichiarato. Cosa devo fare? E una volta che funziona cosa devo scrivere per far chiudere le form?
Grazie.
Daniele