开发者

WPF Crystal Report problem using Visual Studio 2008

I need to bind a List with a crystal report in my WPF application. Here is my code:

CrystalReportViewer crystalReportViewer1 = new CrystalReportViewer开发者_如何学运维();
doctorCrystalReportObj.SetDataSource(appointmentManagerObj.GetDoctorList());
crystalReportViewer1.ReportSource = doctorCrystalReportObj;
host.Child = crystalReportViewer1;

Report is generated. But no data found. Am I missing something? In windows forms application, there is an attribute AutoDataBind="true". Is there anything similar in WPF Crystal Report?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜