I'm not sure what you mean by size. If you're trying to find out the number of tables and the number of rows in each table then you could do something like this:
Dim i As Integer
Dim j As Integer
i = dsMyDataSet.Tables.Count
For j = 0 To i - 1
Dim a As Integer
a = dsMyDataSet.Tables(j).Rows.Count
Console.WriteLine(dsMyDataSet.Tables(j).ToString & " has " & a.ToString & " rows."
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.