zzdv Posted March 12, 2003 Posted March 12, 2003 (edited) 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 doesn't show on the screen, you only can see the Reportvieweer control and the number of pages the report needs, but you don't see the report(white paper whith the data). I use this code: 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? Edited March 12, 2003 by divil Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.