Exemple #1
0
        private async Task Connection()
        {
            string connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;

            ServerDB.ConnectionToWorkers();
            ServerDB.ConnectionToDepartments();
            ListViewName.ItemsSource = ServerDB.dtWorkers.DefaultView;
            ComboBoxName.ItemsSource = ServerDB.dtDepartments.DefaultView;
        }