protected void Page_Load(object sender, EventArgs e) { ChamadosModel cm = new ChamadosModel(); ChamadosBll cb = new ChamadosBll(); List <ChamadosModel> listaChamado = new List <ChamadosModel>(); int idChamado = 0; int.TryParse(Request.QueryString["idChamado"], out idChamado); cm.IdChamado = idChamado; listaChamado = cb.ConsultaChamado(cm); rptChamado.DataSource = listaChamado; rptChamado.DataBind(); this.Title = "Detalhe Chamado: " + idChamado.ToString(); Session.Add("IdChamado", idChamado); }