Ragazzi premetto che sono un profano di ASP.NET...
Mi potete spiegare perchè il seguente script non funziona?
codice:
If nome <> "pippo" then
'**********************************************
'Sostituisce i caratteri accentati con ?
Dim enc As New System.Text.ASCIIEncoding()
'**********************************************
else
'**********************************************
'Sostituisce i caratteri accentati con �
Dim enc As New System.Text.UTF8encoding()
''**********************************************
end if
'**********************************************
l'errore che ottengo è il seguente:
codice:
Messaggio di errore del compilatore: BC30451: Nome 'enc' non dichiarato.
Grazie