dynamic web UI count on have defined meta data for the UI. you will want to define this meta data:
public class Column
{
public string Name {get; set;}
}
public class Table
{
public string Name {get; set;}
public List<Column> Columns {get set;} = new List<Column>()
}
var tables = ...
//in the html (using razor)
@for (var table in Model.Tables)
{
<h1>Database @table.Name</h1>
<ul>
@for (var col in table.Columns)
{
<li>@col.Nam</li>
}
</ul>
}