c# - Display data in crystal report when more than one table in DataSet -
i using crystal report vs 10,
i have added dataset.
now if there's 1 table in dataset data being displayed, while if add 2 tables link, data not being display.
and taking fields table of dataset(xsd).
how overcome problem.
thanks in advance. khilen
you need bind datatable(s) intend use instead of binding entire dataset. answer shows example: https://stackoverflow.com/a/8341474/283895
(code copied article)
reportdocument rpt = new reportdocument(); rpt.load(); rpt.database.tables[0].setdatasource(ds.tables[0]); this.crystalreportviewer1.reportsource = rpt;
Comments
Post a Comment