Checking for existence of DataTable.Rows

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

Hello-

I am attempting to determine if a DataTable has Rows, or
if it is empty. I am using this code:

If isDBNull(MyDataTable.Rows) Then
....

And it is returning false whether or not there are any
rows. Is there another way to check for this property?

Thanks, Adam
 
Back
Top