文本框无法成功运行 [英] textbox working successfully of unsuccessfully
本文介绍了文本框无法成功运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个文本框,我想在文本框中设置长度限制为50
如果用户输入值,则说明工作成功
但用户输入一些值,然后删除一些值
然后工作不成功
i have a one textbox and i want to set length limit in textbox is 50
if user enter value then work a successfully
but user enter some value and after delete some value
then work a unsuccessfully
推荐答案
使用文本框的MaxLength
属性-将其设置为50.
Use the MaxLength
property of textbox - set it to 50.
为什么问所有这些看似无关的问题?他们住的地方没有书或Google吗?
Why are you asking all these seemingly unrelated questions ? Do they not have books or google where you live ?
这篇关于文本框无法成功运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文