Sample codes, tips, random rantings on Crystal Reports, Crystal Enterprise etc...
Q:
I want to use the “push mode“ with custom ADO.Net datasets passed to the report engine.
What is the best method to get the data ? Stored procedures or views ?
How can I get the fields definition at design time, without creating typed datasets?
A:
In theory, there is no difference if you get your data from stored procedure or views. It is entirely up to you what is best for your application. It is faster for us to use View and Stored Proc directly instead of data set.
You can design the report by connecting to a database with analogous data schema, and not use strongly-typed dataset. Then push in the dataset at runtime.
The report engine has the Database member will show users the field definitions.
Gook luck.
Anonymous comments are disabled