Crystal Report with dataset (Done)
Hi all,
I've been trying to generate a crystal report by providing data through the ADO.Net dataset. All the articles I've read till now say that I've to create a DataSet object first which will contain the schema of a table of the database. But my problem is I'll have all the data coming into the dataset only at run time. Only thing I know of at design time is the column names and their types. And the data being populated in the dataset is from some text file or some other file. Now how do I specify which item from the data table will come at what place?
Thanks.
Re: Crystal Report with dataset
Just in case somebody encounters this problem and visits the page.
1.) Binding the CR to a dataset can be easily done through XML.
2.) What I did was, since I knew the field names that are going to come, so I created typed dataset and then placed the fields from the typed DS on to the CR and arrange my labels accordigly. That worked fine for me.
Thanks for everybodys time.