The fact that this problem occurs in both Visual Studio 2010 and SharpDevelop is at least consistent, but still makes no sense to me. Which references the above statement as the offending line.Ĭan anyone shed any light on this? If I look at the metadata for the ReportDocument class is does contain three Load methods, the first of which takes a string which is the rpt file path. Invalid token '(' in class, struct, or interface member declaration The problem arises when I try to use the rtpDoc object to do anything as if the compiler doesn't realize it's a class object, despite the fact that when I mouse over the variable it reports it properly as a, but not only does intellisense not show me any methods or properties of the object, I get the following compiler error which has me stumped: I then create a ReportDocument so that I can open a rpt file: ReportDocument rptDoc = new ReportDocument() We can still achieve some degree of export and print functionality by writing our own code to handle exporting. I've downloaded the latest Crystal DLLs for Visual Studio 2010 from SAP and manually created references to the following using CrystalDecisions.CrystalReports When using Crystal Reports in ASP.NET, the CrystalReportViewer control does not have the export or the print buttons like the one in Windows Form. I recently started using the latest version of Crystal Reports with both Visual Studio 2010 and SharpDevelop in a c# windows application (forms).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |