Z
zPaul
Does anyone know how to display Crystal Report with TTX file?
crptDoc.Load(Server.MapPath("..\report\test.rpt"))
dtset = mclsReport.getDataSet()
dtset.Tables(0).TableName = crptDoc.Database.Tables(0).Name
crptDoc.SetDataSource(dtset)
crptViewer.ReportSource = crptDoc
It displays the report but it has sample data from ttx file. The dataset is
not passing through.
If you can provide the sample code, I will appreciated.
Thanks,
crptDoc.Load(Server.MapPath("..\report\test.rpt"))
dtset = mclsReport.getDataSet()
dtset.Tables(0).TableName = crptDoc.Database.Tables(0).Name
crptDoc.SetDataSource(dtset)
crptViewer.ReportSource = crptDoc
It displays the report but it has sample data from ttx file. The dataset is
not passing through.
If you can provide the sample code, I will appreciated.
Thanks,