[Complete code] Create a report that is not restricted by the database. VB. NET version-1

Source: Internet
Author: User

PreviousArticleI introduced the use of reports that are not restricted by the database in VB, and also agreed to release the. NET version in the future,
However, because I have been too busy recently, I have always been jumping tickets.
After I started to write the original version, I found that there are similarCode,

So I just made a simple modification on the basis of it.
Run the following code in vs2003 and framework1.1. The crystal report is provided by vs2003. use VB. NET.
We use this mode, which is often referred to as the "push" mode, using the ADO. NET data source.

First, I will 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 example database of access provided by the crystal report as a sample to obtain a data table structure.

After the connection is successful, you can select a table

Note that the steps here only obtain a data table structure and do not affect the distribution of future reports and the database structure.
In fact, this step can be omitted after you are familiar with it,
This step generates an XML file containing the data structure. You can manually change this template.


OK. Save the project after completing this step.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.