Here's what we are running: MySQL 5.6.20, MySQL ODBC 5.3 ANSI Driver and asp.net 4.0 and crystal report 13.0.12 64 bit, windows server 2008 R2 64 bit but the system DSN is 64 bit DSN. Typically, you can find this information in your Crystal Reports software’s documentation or release notes. ![]() ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName) įoreach (Table table in ) The runtime version should correspond with the Crystal Reports version utilized for creating reports within your application. Var subReport = (SubreportObject)reportObject If (reportObject.Kind = ReportObjectKind.SubreportObject) In each section we need to loop through all the reporting objectsįoreach (ReportObject reportObject in section.ReportObjects) Now loop through all the sections and its objects to do the same for the subreportsįoreach (Section section in _) ![]() went as far as going through each table and disposing the object and closing connections on the main and subreports. ![]() search the net, found some suggestions about closing the report document will release the connection, but whatever I try don't seem to work. when export the report to pdf the connection is not release to MySQL server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |