Results 1 to 2 of 2

Thread: Crystal Report with dataset (Done)

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    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.
    Last edited by rjv_rnjn; Jul 1st, 2005 at 03:30 AM. Reason: status change

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width