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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -