c#.net中的Crystal报表格式 [英] Crystal Report Formatting in c# .net

查看:76
本文介绍了c#.net中的Crystal报表格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含3列的DataGridView.
在第一列中,我有一个CheckBox(要显示的选择字段),在第二列名中(字段的名称),在第三列中有一个字段(要显示在报告中的字段顺序).

我想显示在第一列中检查的字段,并根据用户在第三列中输入的顺序(序列),只有具有相应记录的那些列才会显示在c#.net的Crystal报表中.


该怎么做?

请帮助我.

I have a DataGridView which contains 3 columns.
In the first column I have a CheckBox (select field to display), in second column name(name of field) and in third sequence (sequence of fields to display into the report).

I want to display the fields which are checked in first column and, according to sequence entered by user in the third column(sequence), only those columns with respective records are displayed into crystal report in c# .net.


How to do this?

Please help me.

推荐答案

http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-tutorial.htm[^]

This Link may help


然后出问题了,只需使用sql查询以所需顺序获取带有选中字段的数据表即可.明确提及您的问题以寻求适当的解决方案.
Then where is the problem, just get the datatable with checked field in the desired sequence using your sql query. Mention your problem clearly for proper solution.


这篇关于c#.net中的Crystal报表格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆