Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beginner q
Message
De
31/07/2003 12:45:42
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00815425
Message ID:
00815472
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Mark,

You could try the following.
if (textBox1.Text.CompareTo("") == 0)
   textBox1.Text = "Empty";
This does not take into account the field containing spaces, these can be removed using something like textBox1.Text.Trim().

HTH
Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform