private void storeToDatabase(MySqlConnector con, int id, int cNumber, int tNumber, string sTime, string eTime) { int dif = difference(sTime, eTime); con.Insert("INSERT into endurancetesting (ID, testNo, cycleNo, time) values( " + id.ToString() + "," + tNumber.ToString() + ", " + cNumber.ToString() + ", " + dif.ToString() + " )"); }