Click here to Skip to main content
12,945,945 members (60,746 online)
Rate this:
Please Sign up or sign in to vote.
Hi all

I am using visual studio 2010 express u know there is no crystal report in this version.
so can you please tell me how to do the printing..

and one specially i am looking for, is it possible to send the data to pdf file and print.

e.g. i fetched some data in gridview and when i click print button , the it should show the data in a pdf file.

Please give me some solution for it
Thank you
Posted 2-Jan-13 20:43pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Refer: GridView to PDF[^]

Here: Exporting a DataGridView to an Excel/PDF/image file by using Reporting Services report generation[^]
It's in C#, but has all what you need. You should be able to get the logic and how to move ahead for export. In case, you need VB.NET code, there are free converter on net that can convert C# snippets into VB.NET[^]

Also check this thread from MSDN might be useful for you:
How to export a DataGridView to Excel[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

we can use crystal report in visual studio 2010.
check these links you have to download sap crystal reports[^][^][^]

hope these links help u:)
Snehasish Nandy 3-Jan-13 6:30am
already did..i m more specifically looking for sending the data directly to a pdf file..
Lakshmimsridhar 3-Jan-13 6:35am
check this link

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,899
CHill60 3,205
Maciej Los 2,453
Jochen Arndt 1,935
ppolymorphe 1,795

Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100