I am creating a report using Standalone Report Designer. The report is based on a SQL Server stored procedure that returns multiple tables. I have already created and linked the C# DLL method GetData() that returns a DataSet (consisting of two DataTables having TableName as dtHeader and dtDetails). I have successfully assigned GetData to the ObjectDataSource (odsData) by following the steps in the Wizard. Now the DataSource property of odsData shows the DLL name and DataMember property shows the method name - GetData().
I have assigned odsData as the DataSource of the report.
I noticed that unlike SQLDataSource, the ObjectDataSource did not show the output (So does it mean that it cannot figure out the output tables metadata?). Also the "Data Explorer" tab shows only odsData (I was expecting DataTables and columns under it).
I added a textbox and opened the "Edit Expression" dialog. Then I clicked on the "Fields". I find that only odsData appearing but not the tables - dtHeader and dtDetails. (Screenshot attached).
So, how do I see the fields (columns) of the DataTables dtHeader and dtDetails in the report (since it looks like that metadata is not available)?
P.S. I have tested the DLL successfully. i.e. it returns two DataTables (in a DataSet) with rows.