예제 #1
0
파일: Program.cs 프로젝트: Leooonard/CGXM
 public override bool delete()
 {
     if (!isValid(new List<string>() { "prName", "pID"}))
         return false;
     string sqlCommand = String.Format("delete from Program where prID={0}", prID);
     Sql sql = new Sql();
     return sql.deleteProgram(sqlCommand);
 }