Ejemplo n.º 1
0
        public string LayChiTietSanPham()
        {
            MULTIMEDIA mul      = db.MULTIMEDIAs.SingleOrDefault(item => item.MaCTSP == MaCTSP);
            string     filePath = mul.Multimedia1;

            filePath = HttpContext.Current.Server.MapPath(mul.Multimedia1);
            return(filePath);
        }
Ejemplo n.º 2
0
        public string LayChiTietSanPham()
        {
            CHITIETSANPHAM ctSp     = db.CHITIETSANPHAMs.Single(r => r.MaSP == MaSP);
            MULTIMEDIA     mul      = db.MULTIMEDIAs.Single(item => item.MaCTSP == ctSp.MaCTSP);
            string         filePath = mul.Multimedia1;

            filePath = HttpContext.Current.Server.MapPath(mul.Multimedia1);
            return(filePath);
        }