InterviewSolution
| 1. |
How Can You Enforce A Text Box To Display Characters In Uppercase? |
|
Answer» The TextBox CLASS contains the CharacterCasing property, which is used to specify the CASE of the content for a text box. This property ACCEPTS a value from the CharacterCasing enumeration of .NET Framework. The members specified in the CharacterCasing enumeration are LOWER, Upper, and Normal. You can select any one of these ENUMERATIONS as a value for the CharacterCasing property of a specified text box, as shown in the following code snippet: textBox1.CharacterCasing = CharacterCasing.Upper; The TextBox class contains the CharacterCasing property, which is used to specify the case of the content for a text box. This property accepts a value from the CharacterCasing enumeration of .NET Framework. The members specified in the CharacterCasing enumeration are Lower, Upper, and Normal. You can select any one of these enumerations as a value for the CharacterCasing property of a specified text box, as shown in the following code snippet: textBox1.CharacterCasing = CharacterCasing.Upper; |
|