示例#1
0
文件: User.cs 项目: dina200/RC
 public void deleteRent(dbHelper db)
 {
     Console.Write("Rent's num:\n");
     try
     {
         int num = Convert.ToInt32(Console.ReadLine());
         db.deleteRent(num);
     }
     catch (Exception e)
     {
         Console.Write("Not corrct data:\n");
     }
     Console.Read();
     Console.Read();
 }