Thanks for the feedback. I am new to the whole for each loop thing. would I use the code below?
foreach (this.poSqlDMO.Databases.ItemByID(DatabaseNumber).Tables in this.poSqlDMO.Databases)
{
this.lstTables.Items.Add (this.poSqlDMO.Databases.ItemByID(DatabaseNumber).Tables.ItemByID(i).Name);
}
Thanks
Jim