Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Windows MySQL VB.NET , +
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 2-Jan-13 21:43pm
Rate this: bad
good
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[^]
  Permalink  
Rate this: bad
good
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
 
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 uSmile | :)
  Permalink  
v2
Comments
Snehasish Nandy at 3-Jan-13 6:30am
   
already did..i m more specifically looking for sending the data directly to a pdf file..
Lakshmimsridhar at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 180
2 DamithSL 180
3 Peter Leow 125
4 Kornfeld Eliyahu Peter 95
0 OriginalGriff 7,355
1 DamithSL 5,254
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2014
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