Fixed more bugs with the parsing engine, a crash bug in the update inventory method, and a crash bug in the trimming operations. Deleting a row now marks all rows under it as dirty.
This commit is contained in:
@@ -360,7 +360,7 @@ namespace AdvertsingProfitControl
|
||||
oleDbTransaction.Commit();
|
||||
foreach (DataRow row in table.Rows)
|
||||
{
|
||||
var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString()), int.Parse(row[7].ToString()));
|
||||
var rowId = int.Parse(row[0].ToString());
|
||||
if (int.Parse(row[7].ToString()) != 0)
|
||||
{
|
||||
//Account for the ad special row.
|
||||
@@ -408,7 +408,6 @@ namespace AdvertsingProfitControl
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
public DbTableWriterStatus ProccessInvoiceTable(DataGridView table, int dateId, string connectionString)
|
||||
{
|
||||
var status = new DbTableWriterStatus();
|
||||
|
||||
Reference in New Issue
Block a user