Click here to Skip to main content
15,895,827 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

I am using visual studio 2010 express edition.as 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

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[^]
 
Share this answer
 
we can use crystal report in visual studio 2010.
check these links you have to download sap crystal reports

http://www.aspdotnet-suresh.com/2012/01/install-crystal-reports-in-visual.html[^]


http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp[^]

http://www.businessobjects.com/jump/xi/crvs2010/default.asp[^]

hope these links help u:)
 
Share this answer
 
v2
Comments
[no name] 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

http://www.a1vbcode.com/app-5136.asp

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900