Convert MyTextField.Text to "all caps"

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hello,

I am trying to force the formatting of a Post Code field on my form, and
require that all post codes are processed as FULL CAPS. I do not want to
force the user to type on all caps, so would like it if onBlur, or onSubmit,
that for example "im1 2ez" becomes "IM1 2EZ".

Any help appreciated!!

Gary.
 
I presume you are storing in a db? do it in your sql statement. Or use :

string s = "me";

s.ToUpper();

in c#
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top