Solved

Print datagrid data to crystal report

Posted on 2011-03-22
1
1,425 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 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