下面代码我想判断dt是空和nothing的时候 但是不会写求教
If (dt请填充 ) Then
Me.Hide()
MainMenu.Show()
Else
MsgBox("用户名或密码错误")
End If
[解决办法]
- VB.NET code
If (dt !=null And dt.Rows.Count()>0 ) Then
[解决办法]
dt is nothing
[解决办法]