or
Report novoReport = (new GCReport.Sistema.CadastroBairro()); List<BairroInfo> list = new List<BairroInfo>(); if (this.IdCidade > 0) { list = (new BairroBLL()).ConsultarPorIdCidade(this.IdCidade). OrderBy(obj => obj.NomeBairro). OrderBy(obj => obj.Cidade.NomeCidade).OrderBy(obj => obj.Cidade.Estado.NomeEstado). OrderBy(obj => obj.Cidade.Estado.Pais.NomePais).ToList(); ; } novoReport.ReportParameters["Rodape"].Value = Resources.Label.Rodape; novoReport.ReportParameters["GeradoPor"].Value = Resources.Label.GeradoPor; //CRED.Usuario.Pessoa.Foto = Byte[] from sql database
//Image parameters = string type / multivalue = false novoReport.ReportParameters["Image"].Value = CRED.Usuario.Pessoa.Foto; novoReport.DataSource = (new ReportContainer<BairroInfo>(list[0])); rvBairro.Report = novoReport; rvBairro.RefreshReport();this.pictureBox1.Value = "= Parameters.Image.Value";