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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user