判断texBox里是否为空
摘要:
问题:判断texBox里是否为空,只输入空格也算空。方法:String strUserName = tbUserName.Text.Trim(); if(strUserName!=String.Empty && strUserName.Length!=0) { ... 阅读全文
posted @ 2015-03-08 16:18 moffis 阅读(171) 评论(0) 推荐(0)
posted @ 2015-03-08 16:18 moffis 阅读(171) 评论(0) 推荐(0)