Search code examples
databasevb.netcrystal-reportsdataset

Crystal Reports without database & dataset


is it possible to use Crystal Reports without the need to dataset & database ?

i have a gui with a lot of textboxs and functions that returns a lot of variables that i need to report , i manged to use Crystal Reports without database , but no luck without dataset


sorry for bad English :(


Solution

  • It is possible to use ADO.NET objects, you create a class which has the "columns" as properties, then you populate an array of this class in your code. When that's done you especify your array as the datasource in your report

        report.SetDataSource(objectList.ToArray())