zzdv
Member
Hi.
I am deploying a NET applicaction using C# and Crystal Reports, when i run the aplicaction in the developement machine all goes well.
I make an install and include all the merge modules required, but when i try to see the report the report doesnt show on the screen, you only can see the Reportvieweer control and the number of pages the report needs, but you dont see the report(white paper whith the data). I use this code:
Any Idea?
I am deploying a NET applicaction using C# and Crystal Reports, when i run the aplicaction in the developement machine all goes well.
I make an install and include all the merge modules required, but when i try to see the report the report doesnt show on the screen, you only can see the Reportvieweer control and the number of pages the report needs, but you dont see the report(white paper whith the data). I use this code:
C#:
private void FrmInforme_Load(object sender, System.EventArgs e)
{
DataSet dtsData=new DataSet();
ReportDocument oRpt=new ReportDocument();
string nombrerpt = Application.ExecutablePath.Substring (0,Application.ExecutablePath.LastIndexOf("\\")) + "\\Datos\\InformeBasico.rpt";
oRpt.Load(nombrerpt, OpenReportMethod.OpenReportByTempCopy);
dtsData.ReadXml(this.xmlinforme);
oRpt.SetDataSource(dtsData);
crystalReportViewer.ReportSource=oRpt;
}
Any Idea?
Last edited by a moderator: