Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OK, I give up
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00917740
Message ID:
01052592
Vues:
5
>>More complex would be say a text box. We use a number of 5 alpha/numeric character fields (I can think of at least 4 different types of these off the top of my hear). These should always be entered in upper case. In VFP, I can create a class and use it whenever I need it.
>
>Hi George,
>
>Do you know how can we set up a textbox to be in UPPER case? My colleague asked me that and I'm not sure it's that easy in .NET as in VFP.

Naomi,

...and I'm sure that it involves using
string NewTxt = new string();
NewTxt = this.baseTxt1.Text;
this.baseTxt1.Text = NewTxt.ToUpper();
in the TextChanged or Validating event.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform