Page 1 of 1
Retrieve Data from XML and Display in Reports Using Vb.Net
Posted: Fri Apr 11, 2008 1:34 am
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
Retrieve Data from XML and Display in Reports Using Vb.Net
Posted: Fri Apr 11, 2008 3:08 am
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.
Retrieve Data from XML and Display in Reports Using Vb.Net
Posted: Fri Apr 11, 2008 4:20 am
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..
Retrieve Data from XML and Display in Reports Using Vb.Net
Posted: Fri Apr 11, 2008 8:18 pm
by Vital
Hello,
Please send your report to
support@stimulsoft.com or attach it to forum topic. I need look on it.
Thank you.