foreach (Table oTable in oReport.Database.Tables) oTable.SetDataSource( MyDataSet.Tables[ oTable.Name.ToString() ]);