instance of a crystal report
-
I made a simple report CrystalReport1.rpt which was added to my project (Add New Item => Crystal Report) I want to use the report in my project, but i don´t know how to create an instance of it... I tried CrystalReport1 report = new CrystalReport1(); but that doesn´t work, i always get error: The type or namespace name 'CrystalReport1' could not be found (are you missing a using directive or an assembly reference?) cellardoor
-
I made a simple report CrystalReport1.rpt which was added to my project (Add New Item => Crystal Report) I want to use the report in my project, but i don´t know how to create an instance of it... I tried CrystalReport1 report = new CrystalReport1(); but that doesn´t work, i always get error: The type or namespace name 'CrystalReport1' could not be found (are you missing a using directive or an assembly reference?) cellardoor
>Read up on how to use Crystal Reports in in VS. You need to initialize the Crystal Reports Viewer and attach the report to it. It's been a long time, but I remember looking that stuff up on MSDN[^]. there is an object model on there somewhere as well. good luck. I've found a living worth working for, but I haven't found work worth living for. :beer:
:jig: