Solved

Print datagrid data to crystal report

Posted on 2011-03-22
1
1,431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Simple Linear Regression

688 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