private void DeleteData()
        {
            System.Data.OleDb.OleDbConnection oConn = BaseHandler.DatabaseManager.GetOleDbConnection(GlobeVariables.RandomPointsDBPath);
            GPSGatewaySimulator.RandomPoints.LoadRandomPointToDB oLoadPoints = new GPSGatewaySimulator.RandomPoints.LoadRandomPointToDB();

            oLoadPoints.DeleteAllPointsInDB(oConn, "carlocation");
        }
        private void LoadData()
        {
            if (this.dgvRandomPoints.RowCount == 0)
            {
                return;
            }

            System.Data.OleDb.OleDbConnection oConn = BaseHandler.DatabaseManager.GetOleDbConnection(GlobeVariables.RandomPointsDBPath);
            GPSGatewaySimulator.RandomPoints.LoadRandomPointToDB oLoadPoints = new GPSGatewaySimulator.RandomPoints.LoadRandomPointToDB();

            oLoadPoints.LoadPointsToDB(oConn, "carlocation", this.dgvRandomPoints.DataSource as DataTable);
        }