Can I populate a dataset from an array?

  • Thread starter Thread starter andrew allan
  • Start date Start date
A

andrew allan

I have written an application which calculates several
parameters and passes these to a object array, and now I
want to display these graphically.

I plan on using the graphic capabilities of Crystal
Reports, and so have to get my object array to populate
into a dataset which will serve as a source for CR. I
have managed to store the object array to disk in XML
format which I thought may be a good first step but
setting the dataset.datasource property to the XML file
doesn't seem to help.

Is it possible to bind the dataset to an array, or can I
provide looping code to populate te dataset field by
field.

All the documentation I have managed to find on the
datset assumes that data is populated from a data adapter
after querying a database, is there any place where I can
find instructions on filling datasets from other sources.
 
Back
Top