Hi, guys.
I'm using VS 2013, framework 4.0. So, when I run a report, it comes up blank.
My code
- ReportDocument report = new ReportDocument();
- string strConn = ConfigurationManager.ConnectionStrings["ConexaoBanco"].ConnectionString;
- report.Load(Server.MapPath(@"..\RelAdmitidosDemitidos\RelAdmitidosDemitidos.rpt"));
- char[] delimitador = { ';' };
- string[] palavraAux = strConn.Split(delimitador);
- string user = palavraAux[2].Substring(8);
- string senha = palavraAux[3].Substring(9);
- report.SetDatabaseLogon(user, senha);
- AdmitidosDemitidos.ToolPanelView = ToolPanelViewType.None; // Oculta o Group Tree
- AdmitidosDemitidos.ReportSource = SetandoFiltros(report);
- AdmitidosDemitidos.DataBind();
- AdmitidosDemitidos.Dispose();
I'm using the latest version of C.R.
Could soebody help me?