I'm using code below for taking each element from my xml in a new window inside a datagridview.The problem that shows each table separetaly.
I need to take them all tables side by side in samme rows.

See image 1[Image](https://i.stack.imgur.com/Bv6qu.png)  

I need to take something like that
[Image2](https://i.stack.imgur.com/otFxe.png)

Here is what i'm trying to do.

```
 public void ShowData(System.Data.DataTable t)
    {
        Form f = new Form();
        f.Controls.Add(new DataGridView { Dock = DockStyle.Fill, DataSource = t });
        f.Show();
    }

    private void ToExcel_Click(object sender, EventArgs e)
    {
        string path =@"c:\mydataset.xml";
        DataSet ds = new DataSet();
        ds.ReadXml(path);

        foreach (System.Data.DataTable t in ds.Tables)
        {
            ShowData(t);
        }
}

```

Should i combine table inside datatable? I need them side by side and not one under another.