代码:
If (txtName.Text = "") Then
MsgBox "用户不能为空", vbCritical, "错误"
else if txtpassword.Text="" ‘这儿报错:没then或GOTO , 但是我加了then,又提示: 必须为该行第一条语句
End If这该怎么写
If (txtName.Text = "") Then
MsgBox "用户不能为空", vbCritical, "错误"
else if txtpassword.Text="" ‘这儿报错:没then或GOTO , 但是我加了then,又提示: 必须为该行第一条语句
End If这该怎么写
而是elseif
不能加空格
要有then