[Crystal Report] Create a report that is not subject to database restrictions .NET version -1

xiaoxiao2021-03-06  100

In the previous article, I introduced the report used in VB to limit the database restricted report, and it should also be launched in the next .NET version, but because it is too busy recently, it is always touched, huh, huh. Behind me. After starting to write the most original version, I found that there is already similar code in the official support site of the crystal report, so I just made a simple modification on the basis. The following code is running on the VS2003, Framework1.1. The crystal report comes with VS2003. Use VB.NET we use this mode, it is the "push" mode that you often mention, use ADO.NET data source. First, let me introduce how to create such a report template. .1: Create a new project and add a new ADO.NET data source here I use the ACCESS sample database comes with the crystal report as a template, and take a table to take a table after successful connection. The steps here are just to get a data table structure and will not affect the distribution and database structure of the later report. In fact, such steps can be omitted later, because we pass this step, it is generated an XML containing the data structure. Document. You can change this template manually. Well, this step is done after the project.

转载请注明原文地址:https://www.9cbs.com/read-105385.html

New Post(0)