Prepare for your Next Interview
This is a discussion on Convert to the uppercase letters within the VB.NET forums, part of the Software Development category; Hi, Can any body help me, it's urgent in my project I want textbox, in that whenerver I type something it get converted to the uppercase letters at that ...
|
|||
|
Convert to the uppercase letters
Hi,
Can any body help me, it's urgent in my project I want textbox, in that whenerver I type something it get converted to the uppercase letters at that time only |
| The Following User Says Thank You to honey_sonal For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Convert to the uppercase letters
try to capture the ascii value of the charactrer that u type in top the textbox and then convert it to uppercase using the ascii value again.
|
|
|||
|
Re: Convert to the uppercase letters
Hi Honey,
It's just so simple. Create a javascript function ConverToUpper() which will be called onChange() event of textbox (clientside) Here is the body of ConverToUpper() function ConverToUpper() { document.getElementByID('TextBox1').value = document.getElementByID('TextBox1').value.toUpperCase(); } Got It. --V V-- Vikas Vaidya |
|
|||
|
Re: Convert to the uppercase letters
Quote:
Dim s As String s = Me.TextBox1.Text s = s.ToUpper Me.TextBox1.Text = s |
|
|||
|
Re: Convert to the uppercase letters
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load ' Set the TextBox's character casing. TextBox2.CharacterCasing = CharacterCasing.Upper End Sub |
|
|||
|
change in the textbox character casing properities to upper case
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Letters of Oracle | janelyn | Oracle | 3 | 11-30-2007 02:06 AM |
| Replace the letters with numbers[1] | psuresh1982 | Brainteasers | 3 | 03-15-2007 07:03 AM |
| Replace the letters with numbers[2] | psuresh1982 | Brainteasers | 3 | 03-15-2007 03:12 AM |
| replace the letters with number 1 to 9 | psuresh1982 | Brainteasers | 3 | 02-16-2007 06:17 AM |
| replace the letters.......... | psuresh1982 | Brainteasers | 2 | 11-29-2006 12:50 AM |