diff --git a/ProcessManageUI/MainWindow.xaml.cs b/ProcessManageUI/MainWindow.xaml.cs index 7a96b27..ace9e95 100644 --- a/ProcessManageUI/MainWindow.xaml.cs +++ b/ProcessManageUI/MainWindow.xaml.cs @@ -97,6 +97,11 @@ namespace ProcessManageUI foreach (DataRow row in rowdat)//删除指定信息行 { row.Field("ProductCode"); + + + + + gram += row.Field("Grams"); row.Delete(); row.AcceptChanges();