private void Table_SelectionChanged(object sender, SelectionChangedEventArgs e) { try { if (string.IsNullOrEmpty(Config.TABLE_USER) || string.IsNullOrEmpty(Config.TABLE_NAME)) { IDs = null; Columns = null; } else { IDs = dC_Service.GetIDs(Config.TABLE_USER, Config.TABLE_NAME); Columns = dC_Service.GetColumns(Config.TABLE_NAME); } OnPropertyChanged("IDs"); OnPropertyChanged("Columns"); } catch (Exception) { } }