public static NHOM8.SanPham ChiTietAdmin(String id)
        {
            var db = new NHOM8DB();

            return(db.SingleOrDefault <NHOM8.SanPham>("select * from SanPhams where SanPhamID = '" + id + "'"));
        }
        public static NHOM8.SanPham ChiTiet(string a)
        {
            var db = new NHOM8DB();

            return(db.SingleOrDefault <NHOM8.SanPham>("select * from SanPhams where SanPhamID = @0", a));
        }