Solved

Print datagrid data to crystal report

Posted on 2011-03-22
1
1,422 Views
Last Modified: 2012-05-11
Using sql statment Getting Data into datagrid1,
now i want to print that data,
using crystal report 7

Note: in SQL Statement i am using UNION ALL to join two table


0
Comment
Question by:crystal_Tech
1 Comment
 
LVL 5

Accepted Solution

by:
ina_don earned 500 total points
ID: 35280277
Why don't you just run the query again and send it to crystal reports when you perform the print. It would be cumbersome to try and read the data off the datagrid and send it to the report. The downside is that the database might have changed by the time you request to print. Otherwise you can use datasets to store the data and print it from there when you perform the print.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Printing duplex pages and have a page break 6 44
Problem to App 4 82
How to parse the string and split the sub directory names in asp.net 7 41
Sum of multiple formulas 6 18
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This video teaches viewers about errors in exception handling.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question