public static void AddService(GetService _service) { string req = "INSERT INTO GetService (phonenumber, idservice, id, starttime, endtime, barcode, col) Values(" + _service.ToString() + ")"; DataConnection.SendQuery(req); }