以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如何判断空密码  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=56539)

--  作者:riyuan
--  发布时间:2014/9/8 12:09:00
--  如何判断空密码
在软件中如何判断空密码
--  作者:a87918021
--  发布时间:2014/9/8 14:14:00
--  
If Char.IsDigit(e.KeyChar) = False Then
    e.Cancel = True
End If
http://www.foxtable.com/help/topics/0610.htm 

[此贴子已经被作者于2014-9-8 14:16:01编辑过]

--  作者:有点甜
--  发布时间:2014/9/9 9:29:00
--  

 If e.Form.Controls("TextBox1").Text = "" Then

     msgbox("空密码")

 End If