View data in Crystal Reports when multiple DataSet tables


I am using Crystal Report with VS 10,

I have added DataSet.

Now if There's only One Table in DataSet then data is being displayed, while if i add Two Tables with Link, then Data is not being display.

And i am taking fields from this table of DataSet(XSD).

How to overcome this problem.

Thanks In Advance. Khilen

You need to bind the DataTable(s) that you intend to use instead of binding the entire DataSet. This SO answer shows a very good example:

(Code copied from that article)

ReportDocument rpt = new ReportDocument();
this.crystalReportViewer1.ReportSource = rpt;