Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Input
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
01156834
Message ID:
01158462
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform