public int update(TrinhDoHocVanEntities obj)
        {
            int        result   = 0;
            string     strQuery = "update dbo.TrinhDoHocVan set TDHV='" + obj.Trinhdohocvan + "' ,ChuyenNganh='" + obj.Chuyennganh + "' where MaTDHV='" + obj.Matrinhdohocvan + "'";
            DataConfig config   = new DataConfig();

            result = config.excuteNonquery(strQuery); //thucthi
            return(result);                           //tra ve so ban ghi
        }
        public int Insert(TrinhDoHocVanEntities obj)
        {
            int        result   = 0;
            string     strQuery = "insert into dbo.TrinhDoHocVan(MaTDHV,TDHV,ChuyenNganh) values('" + obj.Matrinhdohocvan + "','" + obj.Trinhdohocvan + "','" + obj.Chuyennganh + "')";
            DataConfig config   = new DataConfig();

            result = config.excuteNonquery(strQuery); //thucthi
            return(result);                           //tra ve so ban ghi
        }