public static SANPHAM ChiTiet(String a) { var db = new MiniShopConnectionDB(); return(db.SingleOrDefault <SANPHAM>("select * from SANPHAM where MaSanPham = @0", a)); }
public static NHASANXUAT ChiTietAdmin(String id) { var db = new MiniShopConnectionDB(); return(db.SingleOrDefault <NHASANXUAT>("select * from NHASANXUAT where MaNhaSanXuat = '" + id + "'")); }
public static LOAISANPHAM ChiTietLoaiSanPhamAdmin(String id) { var db = new MiniShopConnectionDB(); return(db.SingleOrDefault <LOAISANPHAM>("select * from LOAISANPHAM where MaLoaiSanPham = '" + id + "'")); }