Beispiel #1
0
 public static bool ChuyenLop(string maTre, string maLopMoi, string maLopCu)
 {
     if (string.Compare(TreDAL.GetTinhTrangTrongLop(maTre, maLopCu).Trim(), "0") == 0)
     {
         try
         {
             TreDAL.ChuyenLop(maTre, maLopMoi);
         }
         catch (Exception ex)
         {
             MessageBox.Show(ex.Message);
         }
     }
     else
     {
         return(false);
     }
     return(true);
 }