Exemple #1
0
        public static bool ThemTre(Tre hocsinhmoi)
        {
            DataTable dt = TreDAL.ThemTre(hocsinhmoi);

            foreach (DataRow row in dt.Rows)
            {
                if (row.ItemArray[0].ToString().Trim() == "0")
                {
                    return(true);
                }
            }

            return(false);
        }