private void Banner_Loaded_1(object sender, RoutedEventArgs e) { oDispatcherTimer.Interval = new TimeSpan(0, 0, 3); oDispatcherTimer.Tick += (a, b) => { BebestibleBLL bebBLL = new BebestibleBLL(); System.Data.DataTable dt = bebBLL.getbeb_garzon(); dtg_bebestible.ItemsSource = dt.DefaultView; PlatoBLL plaBLL = new PlatoBLL(); System.Data.DataTable dta = plaBLL.Getplato_garzon(); dtg_plato.ItemsSource = dta.DefaultView; }; }