在文本框中将大写转换为小写。 [英] convert uppercase to lowercase in textbox.
本文介绍了在文本框中将大写转换为小写。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户在asp.net中将数据输入文本框时,如何自动将大写转换为小写。
How to automatically convert uppercase to lowercase as a user enters data into textbox in asp.net.
推荐答案
txtBTAddr1.Text = txtBTAddr1.Text.ToUpper.ToString ();
用于大写
xtBTAddr1.Text = txtBTAddr1.Text.ToLower.ToString();
使用它对于小写
根据你的要求使用它。
谢谢。
txtBTAddr1.Text = txtBTAddr1.Text.ToUpper.ToString();
It is used for Upper Case
xtBTAddr1.Text = txtBTAddr1.Text.ToLower.ToString();
It is used for Lower Case
Use this according to your requiments.
Thanks.
这篇关于在文本框中将大写转换为小写。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文