Last post May 28, 2014 03:40 AM by cnranasinghe
May 27, 2014 04:16 PM|aspfun|LINK
I knew how to use dataset as data source in CR.
Is it possible to use datatable as data source in CR, like below?
The reason is in myDs there are about 10 datatable.
//myDs is a dataset, myDs.table(3) is a datatable in the myDS
May 28, 2014 03:39 AM|vikineese|LINK
If you have defined an XSD along with the same DataTable name then you should be able to bind the DataTable as your source. However CrystalReports generally looks for the DS and then the specify DT while binding. Probably you can create a new DS with the
same DataSet Name i.e. DataSet ds = new DataSet("Name") and then do a DataTable.COPY of the the required table from the original source to this new DS and then bind it.
Hope this helps.
May 28, 2014 03:40 AM|cnranasinghe|LINK