We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Setting up a crystal report data source

auspies
auspies asked
on
Medium Priority
1,056 Views
Last Modified: 2008-03-03
Hope this is the right area to post this....
I have a c#.NET (VS.NET 2002) app that uses Crystal Reports.  The way I was shown how to set up reports does not seem to make sense so I am hoping someone can clarify things for me.  I was told to set up a dataset and put into it the information I need, then create the report with the dataset as its datasource.  Then to read the information in I was told to use the same stored procedure I used for the dataset, but code it into a data class using SqlCommand, read each row using a datareader and set the report's datasource to the stored procedure/datareader.  

Are both of these (the datasource in report setup and the manual coding of the datareader) required?  Does anything programmitically set take precedence over the datasource set when the report was setup through the wizard?  


Comment
Watch Question
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.