views:

144

answers:

1

How can I redistribute crystal report with an xml dataset in a windows application. I want to be able to use the same xsd and a new xml file every time. When I load the RPT file from inside my application using the code below on a computer other than my own it looks for the xml and xsd. Is there any way I can strip this information from the rpt???

        ReportDocument rpt = new ReportDocument();
        rpt.Load(myScrubRules_.theScrubber.Report.ReportTemplate);
        rpt.SetDataSource(ds.Tables[0]);