المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Active Crystal Report



C# Programming
08-07-2009, 03:00 PM
Can i set multiple datatable in ActiveX crystal Report like in using ReportDocument.
How to set multiple data Sources in ActiveX crystal Report. Using Report this can be done as following. It is ok but got problem in Nepali font display.

ReportDocument rptdmt=new ReportDucument();
rptdmt.Load("C:\\aa.rpt");
DataTable dt1=GetGeneralData();
DataTable dt2=GetSpecificData();

rptdmt.SubReports["rptGeneralSub"].SetDataSource(dt1);
rptdmt.SubReports["rptSpecific"].SetDataSource(dt2);

crViewer.ReportSource=rptdmt;

Can this type of work be done in Crystal Report using ActiveX component. How ..? Please tell me.