Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

when I run a report, it comes up blank.

$
0
0

Hi, guys.

 

I'm using VS 2013, framework 4.0. So, when I run a report, it comes up blank.

 

My code

 

  1.                 ReportDocument report = new ReportDocument(); 
  2.                string strConn = ConfigurationManager.ConnectionStrings["ConexaoBanco"].ConnectionString; 
  3.                report.Load(Server.MapPath(@"..\RelAdmitidosDemitidos\RelAdmitidosDemitidos.rpt")); 
  4.                  
  5.                 char[] delimitador = { ';' }; 
  6.                 string[] palavraAux = strConn.Split(delimitador); 
  7.                 string user = palavraAux[2].Substring(8); 
  8.                 string senha = palavraAux[3].Substring(9); 
  9.                 report.SetDatabaseLogon(user, senha); 
  10.                 AdmitidosDemitidos.ToolPanelView = ToolPanelViewType.None; // Oculta o Group Tree 
  11.                 AdmitidosDemitidos.ReportSource = SetandoFiltros(report); 
  12.                 AdmitidosDemitidos.DataBind(); 
  13.                 AdmitidosDemitidos.Dispose(); 

I'm using the latest version of C.R.

 

Could soebody help me?


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>