Solved

Print datagrid data to crystal report

Posted on 2011-03-22
1
1,430 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

749 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