/// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void frmKetQua_Load(object sender, EventArgs e)
        {
            //Khoi tao doi tuong m_Controller
            if (this.Controller == null)
            {
                this.Controller = new KetQuaController();
            }

            this.Controller.HienThiDS(dgvDS, bnDS);
        }
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public string PhatSinhMa()
        {
            string lastID = new KetQuaController().LayMaCuoi();
            int    numOfLastID;

            //khi chua co record nao trong csdl this lastID se la "", khi co ta bat dau tu 1
            if (lastID == "")
            {
                numOfLastID = 1;
            }
            else
            {
                numOfLastID = int.Parse(lastID.Substring(2, 1));
                numOfLastID++;
            }
            return("KQ" + numOfLastID.ToString());
        }