Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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.
Posted
Updated 13-Mar-11 23:42pm
v4
Comments
Henry Minute 13-Mar-11 10:08am    
And your problem is?
luisnike19 13-Mar-11 12:05pm    
I don't understand the problem too.
Dalek Dave 14-Mar-11 5:42am    
Edited for Grammar and Readability.

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900