Before we studied Crystal Reports in vs. net, my friends and I were very curious about how to add this complicated stuff to our web application. A week later, after reading a large number of "Howto" documents, we successfully added some simple reports to our Asp.net program and got some tips. This article teaches you how to use Crystal Reports in. NET web applications, and also helps you avoid detours during your learning process. To get the best results, you 'd better have some basic ASP. NET database access knowledge and development experience using vs. net. Introduction to the Crystal Report can be obtained through many methods. One of them is to use vs. Net to create a report, which provides a rich set of models so that we can operate on attributes and methods at runtime. If you are using vs. Net to develop a. Net program, you do not need to install other software because it is already embedded in vs. net. Advantages:. NET Crystal Reports have the following main advantages: Rapid Report development can be exported to complex interactive charts, and can be used in webform together with other controls to export reports to. Doc, xls, HTML, RTF and other formats: Some components constitute the layer-2 structure of the crystal report. The required Web applications include: client: the client only needs a browser that can access the reports embedded in the ASPX page to access the server: -Crystal Report Engine (crengine. (DLL) through which you can complete some tasks, such as merging data in the report file and converting the report to another format. It is also because of the role of the Report Engine that ASP can be applied. net to convert the crystal report into a common HTML format-Crystal Report designer (crdesigner. DLL) Crystal Reports are created in the designer. In the designer, you can design titles, insert data, formulas, charts, subreports, and so on. -The first step in the. rpt report file execution report is to create this report on the interface of the Crystal Report designer. By default, Microsoft has provided some ready-made. rpt examples. -Data source. the method for getting the database from the rpt file depends on your method selection. You can choose to let the Crystal Report select data without using any code or manually assemble the dataset, and then transfer it to the report file. -Crystal Report viewer web form control (crwebformviewer. DLL) the crystal report display control is a webform control, which can be viewed as. the container that stores reports on the ASPX page. Note: In some complex operations, the Report Server and the Web server may not be on the same physical host, and the Web server sends HTTP requests to the Report Server. Crystal Reports can also be executed as WebServices. In execution mode, you can use the following method to retrieve data from the crystal Report:-Pull Mode: when the data is requested, the crystal report directly connects to the database based on the specified driver and then assembles the data. -Push mode: At this time, the development table has to write code to connect data and assemble the dataset, and send it to the report. In this case, you can use the report to maximize performance by sharing connections and limiting the size of record sets. Report Type: the crystal report designer can directly include reports to projects and use independent report objects. -Stronugly-typed report: when you add a report file to a project, it becomes a "stronugly-typed" report. In these cases, you will have the right to directly create report objects, which will reduce some code and provide some performance. -Un-typed report: the report is called 'un-typed 'report because it is not directly included in the project. In this case, you have to use the 'reportdocumi' object of the crystal report to create an instance and use the report manually. Other considerations-although the Crystal Report viewer has some cool functions, such as scaling and page navigation. However, it does not provide the printing function. You have to call the printing function of the browser. -If the Crystal Report in vs. NET is not registered, it can only be used for 30 times. After 30 times, the "save" function will no longer be used. To avoid this, you are not registering this product at http://www.crystaldecisions.com. (It seems that this is not the case. It may take a long time if you do not register it, but you cannot provide support.)-the default crystal report can only support five users. To support more users, you have to purchase a license at http://www.crystaldecisions.com.