예제 #1
0
        private bool executeSync(string q)
        {
            XDLINE xdl = new XDLINE();

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