Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logic help
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Logic help
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01466186
Message ID:
01466186
Vues:
94
Hi all,

It is late and my brain is not functioning... based on the following example the If statement should set my array but it does not...
Dim i As Integer = 0
Dim oReturn As Array = Array.CreateInstance(GetType(String), 5)

mAddress1 = "744 MILLER DR"
mCity = ""

If (Not mAddress1.Trim().Equals(String.Empty)) And (Not mAddress1.Trim().StartsWith(mCity.Trim())) Then
                oReturn.SetValue(mAddress1.Trim(), i)
                i = i + 1
End If
Thank you,
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform