Retrieve Data from XML and Display in Reports Using Vb.Net

Stimulsoft Reports.NET discussion
Post Reply
SANKAR
Posts: 2
Joined: Fri Apr 11, 2008 1:03 am
Location: india

Retrieve Data from XML and Display in Reports Using Vb.Net

Post by SANKAR »

I have Designed Report to Display Employee Status. i have Fetched Data From Sql Server and Converted into XMl Document. Then in Form Load Even , i Read Data from xml Dcoument File and Assigned to the Report. But I Cannot get the REcords. Only, the header fileds are displayed. The Databound Fileds are not displayed..


xmlds.ReadXml(Application.StartupPath & "\DataSets\AGroup.xml")
report.RegData(xmlds)

i need ur help immediately..

Thanks &Regards,

Sankar.G

Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Retrieve Data from XML and Display in Reports Using Vb.Net

Post by Vital »

Hello Sankar,

1. Please use following line of code:

report.RegData("MyData", xmlds)

2. Please check NameInSource property of your datasources in report dictionary. All values must be start from "MyData." ....

3. You can check what wrong with help of report designer. Add following line of code:

report.Design()


Thank you.
SANKAR
Posts: 2
Joined: Fri Apr 11, 2008 1:03 am
Location: india

Retrieve Data from XML and Display in Reports Using Vb.Net

Post by SANKAR »

Hi Vital,

again i faced the same problem.. how can i give datasource name in vb.ne at run time. and aslo set the Field Values From Data Table into text Fields in Reports..



plz reply soon..



Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Retrieve Data from XML and Display in Reports Using Vb.Net

Post by Vital »

Hello,

Please send your report to support@stimulsoft.com or attach it to forum topic. I need look on it.

Thank you.
Post Reply