Ejemplo n.º 1
0
 public static bool KiemTraKH(string MaKH)
 {
     try
     {
         KhachHang dao   = new KhachHang();
         DataTable table = dao.GetKH(MaKH);
         if (table.Rows.Count > 0)
         {
             return(true);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
     return(false);
 }