private bool executeSync(string q) { XDLINE xdl = new XDLINE(); string[] res = xdl.executeQuery(q); return(res[0] == "Success"); }
private void renewDatabase(object sender, RoutedEventArgs e) { imgsync.BeginStoryboard(imgsyncStory1); xdl.executeQuery("TRUNCATE TABLE `time_in_table`; TRUNCATE TABLE `time_out_table`"); }