AaronT
4Penny.net
Points: 7650

3/13/2012 11:17:05 AM

ASP.NET - Convert the text in a text box to upper case

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

Before I show you this piece of code, I have to tell a story.

I received a request to build a web application that allowed a user to enter an ID and then using that ID as the customer number, enter SOP invoices. eConnect, all that stuff.

I didn't like the fact that the ID would come over in lower case sometimes, becuause CUSTNMBRs in Dynamics are all upper case. So I found this neat piece of code to convert a text box to upper case...

And the customer didn't like it, they made me take it out.

Anyway, for the record, the code below will convert the text typed into a text box to upper case

4Penny.net
Version: Unknown or N/A
Section: .NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3