C#,win frm Crystal report, dynamic field

Source: Internet
Author: User

Dynamic fields do not come out before, sorrow die.

Later found actually quite simple, it seems that as long as the data of multiple repeating fields, it can be automatically discharged, as long as they put in Section3 (details):

C0 to C14 are the fields that will be repeated output (data is not duplicated, such as LIST<CCC>,CCC contains C0 to C14). Then the Section3 (details) of the height of the pressure, because the time of repetition, high is the height of the Section3, do not press tight will remain white.

In this way, it is possible to have a dynamic field, although it is still a bit limited feeling

Then I found that I have a picture (has turned byte[]) there is no way to put in, directly into the CCC will not appear to repeat what or what. Results after practice found that in fact, not put in the Section3 (details) will not be repeated, so I put this field in Section1 (report header). And found that not every CCC for the Picture field assignment, as long as the list of the first CCC picture field has a value on it.

The test found that the same is true in the Section5 (footer), but he will be in the last CCC of the list.

When I actually use it, it's not a list, but a DataTable, where each CCC is a row in a DataTable, and each field is a column in a DataTable.

I don't even know how to use list line, List is a pit ...

C#,win frm Crystal report, dynamic field

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.