例如delphi里面Edit控件的CharCase属性 设置为ecuppercase哪么输入的小写字母也会自动转成大写字母
 C#里面有没有这样的属性 

解决方案 »

  1.   

    textbox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
      

  2.   

    textbox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; 
      

  3.   

    textbox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; 
      

  4.   

    web还是桌面?
    web要用脚本
      

  5.   

    错误 2 “System.Web.UI.WebControls.TextBox”并不包含“CharacterCasing”的定义    TxtBl.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
      错误