Fixed a bug in the row parsing engine related to ad special rows. Move all data from the old format to the new format. Updated the main form's UI.

This commit is contained in:
2017-01-23 00:26:46 -06:00
parent 9f045175ed
commit 739c4c179d
11 changed files with 228 additions and 158 deletions
+3 -3
View File
@@ -168,7 +168,7 @@ namespace AdvertsingProfitControl
var dates = new List<DateTime>();
var oleDbCommand = new OleDbCommand
{
CommandText = "SELECT EndOfWeekDate FROM WeekEnding"
CommandText = "SELECT WeekEnding.EndOfWeekDate FROM WeekEnding"
};
var connection = new OleDbConnection(connectionString);
oleDbCommand.Connection = connection;
@@ -414,9 +414,9 @@ namespace AdvertsingProfitControl
}
}
}
catch (OleDbException e)
finally
{
connection.Close();
}
}
}