コード例 #1
0
        public bool ThemHDBan(BEL_HDBAN HD)
        {
            try
            {
                string query = "INSERT INTO HOADON VALUES('" + HD.MAHD + "','" + HD.MAKH + "','" + HD.NGAYLAP + "','" + HD.NGUOILAP + "'," + HD.TRANGTHAI + ")";

                this.Read(query);

                return(true);
            }
            catch (Exception err)
            {
            }
            return(false);
        }
コード例 #2
0
        public bool ThemHDBan(BEL_HDBAN HD)
        {
            DAL_HD xuLyHD = new DAL_HD();

            return(xuLyHD.ThemHDBan(HD));
        }