By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,184 Members | 1,596 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,184 IT Pros & Developers. It's quick & easy.

Question about using dataset

P: n/a

I am using VB in Visual Studio.Net and crystal report inside it. I have
a question in creating a dataset to pass to the crystal report. The
following is my problem that I need help to solve.

In the report, it shows 2 entities Employee and Taskes. Each of them
will have its corresponding class as well as object. The class will have its
own method to retrieve data from SQL server and then pass it to a dataset.

When user has to print a report, he will enter his criteria. For
example, Account Department to filter employee, and a period of time to
filter task. Then the program will pass these criteria to their own class to
retrieve and filter data from SQL server.

If there is only 1 dataset passed to thre report, I can use the method
setDataSource to pass the dataset to the report. But what if there are 2
Or can I create a third dataset to contain the 2 datasets from employee and
task respectively and then pass to the report? If so, how?

Thanks for your attention.

Jan 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.