|
|
@ -123,16 +123,11 @@ namespace StatisticsUI |
|
|
SqlDataAdapter Machine_ = new SqlDataAdapter(Machine_sql, Connstr_SC); |
|
|
SqlDataAdapter Machine_ = new SqlDataAdapter(Machine_sql, Connstr_SC); |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
// DyelotsBulkedRecipe.Clear();
|
|
|
|
|
|
DyelotsBulkedRecipe_.Fill(DyelotsBulkedRecipe); |
|
|
DyelotsBulkedRecipe_.Fill(DyelotsBulkedRecipe); |
|
|
DataGridStatistics.ItemsSource = DyelotsBulkedRecipe.DefaultView; |
|
|
DataGridStatistics.ItemsSource = DyelotsBulkedRecipe.DefaultView; |
|
|
// DyelotsBulkedRecipe.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
//Machine.Clear();
|
|
|
|
|
|
Machine_.Fill(Machine); |
|
|
Machine_.Fill(Machine); |
|
|
DataGridStatistics_mac.ItemsSource = Machine.DefaultView; |
|
|
DataGridStatistics_mac.ItemsSource = Machine.DefaultView; |
|
|
// Machine.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
|