Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 23 Jan 2008 at 11:41pm
What do you want to do with it once you access it? I ask this because the normal way of doing this is that .NET populates the dataset with data and then passes it to Crystal Reports. .NET doesn't look at the report to see what dataset it has.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
I want to retrieve the dataset assigned to Report By Calling SetDataSource method of ReportDocument. ReportDocument has only SetDataSource Method not GetDataSource. How Can I get Back that dataset again through report object
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 24 Jan 2008 at 11:15pm
I see. You can't get it back. You will have to save it to memory or do something so that your application remembers the query or the dataset object for future reference.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum