示例#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);
 }