99问答网
所有问题
在C#中如何获得textbox中字符串的长度
如题所述
举报该问题
推荐答案 2018-07-29
String s=TEXTBOX.getTEXT();
if(s.length()!=6)
System.out.println("输入6位内容 ");
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/7O7zjtzvXzjWtjXeBv.html
相似回答
大家正在搜
相关问题
C#中如何获取textbox中不同位置的字符
C#中如何分割字符串?
C# 怎么判断textbox1.text字符个数
jquery 如何获取textbox里面的字符串长度?$("...
c# 验证在textbox中输入的内容,长度为4的字符串,且...
C#如何在一个textbox中查找指定的字符串
c#截取字符,显示在textbox控件上
c#窗体中,获得textbox中的数,添加到数组中