Salve,
ho questo sorgente:
che genera questo errore:codice:<script language="vb" runat="server"> Sub Page_Load() Dim variabile as String = "uno,due,tre" variabile = split(variabile, ",") For i = 0 to UBound(variabile) Response.Write trim(variabile(i)) Next End Sub </script>
su questa riga:Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30311: Value of type '1-dimensional array of String' cannot be converted to 'String'.
come mai ?codice:variabile = split(variabile, ",")
grazie !![]()

Rispondi quotando
