[求助]关于eof的问题
在vb.net 里面有没有相当于vb6.0里的EOF的语句??例如:在vb6.0里面这样:
Dim cnn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim strSQL As String
cnn.Open”“
Set rs = New ADODB.Recordset
strSQL2 =”“
rs.Open strSQL, cnn, adOpenStatic, adLockReadOnly
If Not rs.EOF Then
end if
在vb.net里面怎么写啊??
Dim mycnn As New SqlConnection
Dim objds1 As New DataSet
Dim MyCommand As New SqlDataAdapter
mycnn.ConnectionString =""
mycnn.Open()
MyCommand = New SqlDataAdapter()
objds1 = New DataSet()
MyCommand.Fill(objds1, "")
下面怎么写啊??像上面红色的语句一样??