Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Parameters and DataSet

Status
Not open for further replies.

Migaman

Programmer
Aug 10, 2005
1
CH
Hello

I work with Crystal XI and use as Datasource ADO.NET (xml)

When I use a dynamic Parameter und Fill that with a Field from the DataSet then i become a Login-Dialog when I want show the report.

It is possible to use DataSets and Dynamic Parameters ?

DSOrders ds = new DSOrders();
ds = SessionManager.Instance.IOrders.GetOrders();
ReportDocument objReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
objReport.Load(@"c:\xxx.rpt");
objReport.SetDataSource(ds);
crystalReportViewer1.ReportSource = objReport;
this.crystalReportViewer1.Show();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top