读书人

下面代码小弟我想判断dt是空和nothing

发布时间: 2012-04-08 14:38:30 作者: rapoo

下面代码我想判断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
[解决办法]
探讨
If (dt请填充 ) Then
Me.Hide()
MainMenu.Show()
Else
MsgBox("用户名或密码错误")
End If

读书人网 >VB Dotnet

热点推荐