DataSet.Tables
is of type
DataTableCollection[
^]. If you call ToString() on that, you get the default ToString()-implementation which just gives you the type name.
As
DataTableCollection
doesn't implement
IEnumerable<>
(which would allow you to call
.Select(table => table.TableName)
on it) your only option is to loop over the contained tables (either with a for-loop or a foreach-loop), add the names of the tables to a
List<string>
and then add the items in that list to your
ListBox
with
.AddRange(..)
.