NOT null or empty
This commit is contained in:
@@ -95,7 +95,7 @@ namespace PartSource.Automation.Jobs
|
||||
if (int.TryParse(columns[0], out int store)
|
||||
&& !string.IsNullOrEmpty(sku)
|
||||
&& int.TryParse(columns[2], out int quantity)
|
||||
&& string.IsNullOrEmpty(updated))
|
||||
&& !string.IsNullOrEmpty(updated))
|
||||
{
|
||||
dataTable.Rows.Add(new object[] { store, sku, quantity, updated });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user