Пример #1
0
 public static void deletePutPlan(PutPlan putPlan)
 {
     string insert = "delete from Put_plan where MName='"
         + putPlan.getMoiveName()+ "' and SName='" + putPlan.getScreenName() +
         "' and time = '" + putPlan.getTime() + "' and PlanDay = '"+putPlan.getPlanDay()+"'";
     DbHelperSQL.ExecuteSql(insert);
 }
Пример #2
0
 public static void putPlanAdd(PutPlan putPlan)
 {
     string insert = "insert into Put_Plan(MName,SName,time,PlanDay,timefinish) values ('"
         + putPlan.getMoiveName() + "'," + putPlan.getScreenName() + ",'" + putPlan.getTime() + "','"+putPlan.getPlanDay()+"','"+putPlan.getFinishTime()+"')";
     DbHelperSQL.ExecuteSql(insert);
 }