Torna al Thread

private void Window_Loaded(object sender, RoutedEventArgs e) { MyApp.myDataSet myDataSet = ((MyApp.myDataSet)(this.FindResource("myDataSet"))); // Carica i dati nella tabella categorie. Se necessario, è possibile modificare questo codice. MyApp.myDataSetTableAdapters.categorieTableAdapter myDataSetcategorieTableAdapter = new MyApp.myDataSetTableAdapters.categorieTableAdapter(); myDataSetcategorieTableAdapter.FillByPadre(myDataSet.categorie); System.Windows.Data.CollectionViewSource categorieViewSource = ((System.Windows.Data.CollectionViewSource)(this.FindResource("categorieViewSource"))); categorieViewSource.View.MoveCurrentToFirst(); }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5