Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Input
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01156834
Message ID:
01158462
Vues:
17
>So how do I use it
>
>Regards
>
>
>R

like this:
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
  if (char.IsLetter(e.KeyChar) && !char.IsUpper(e.KeyChar))
  {
    e.KeyChar = char.ToUpper(e.KeyChar);
  }
}
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform