Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
Im using Crytal report WPF Application to generate a report with xml file and this is the code i use
C#
protected override void OnContentRendered(EventArgs e)
{

    DataSet dset = new DataSet1();
    DataSet reportData = new DataSet();
    reportData.ReadXml("http://192.168.1.10/test/data.xml");
    dset.Tables[0].Merge(reportData.Tables[0]);
    ReportDocument report = null;
    report = new CrystalReport1();
    report.SetDataSource(dset.Tables[0]);
    reportViewer.ViewerCore.ReportSource = report;

}


so someone can provide me a idea or example how to show a progress bar window while xml file read?

C#
reportData.ReadXml("http://192.168.1.10/test/data.xml");


Regards
Posted

1 solution

 
Share this answer
 
Comments
Amir Mahfoozi 28-Jan-12 5:17am    
+5
Kanasz Robert 28-Jan-12 5:18am    
thank's a lot for vote.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900