Convert Gridview Data in to PDf file. or Convert report data in pdf file

 Hi have problem to convert Gridview data into PDF file..let me know is there any solution or open source components..

Rambhopal Reddy E

Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
Answer” if a marked post does not actually answer your question.
9/9/2008 11:01:45 AM 93655 articles. 6 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 21

Friend, Check this thread for soultions

and then to


Good luck! 



Please Don't forget to click "Mark as Answer" on the post that helped you.
This can be beneficial to other community members reading the thread.
9/9/2008 2:21:30 PM

 Hi rambhopalredd,

You can bind data into DataGrid, and render it as bindary stream to user, it will ok.

    private void sendPdf()
        Response.AddHeader("content-disposition", "attachment;filename=test.pdf");
        Response.Charset = "";
        Response.ContentType = "application/pdf";
        System.IO.StringWriter stringWrite = new System.IO.StringWriter();
        System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);

Also you can use Itextsharp which I suppose and have heard  is also very good

Itextsharp  is a library that allows you to generate PDF files on the fly.

This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you.
Microsoft does not control these sites and has not tested any
software or information found on these sites; therefore, Microsoft
cannot make any representations regarding the quality, safety, or
suitability of any software or information found there.


Hua Jun Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
9/12/2008 3:30:55 AM

Similar Artilces:

COnverting image file into PDF file in C#.NET
hi friends, i have a problem in creating a PDF file from an image file. first of all pls clarify what is the internal concept in converting to PDF file. if nay one knows pls mail me the related code if you find any solution pls mail me at thank u all hari babu...

web services used to convert Word files to PDF files
My professor asked me to design a web services which convert Microsoft's word files to PDF files. by use VS.NET and Windows Server 2003. After I installe Adode Acrobat 6.0 Professional, I can find some Acrobat components, Acrobat Distiller, Acrobat Web Capture 1.0 Type Library, etc. Please tell me which one can be used for my project and how to use it. Or please tell me popular free components of third parts. Thanks!...

converting html file to pdf file
is there anyway I can convert an html file to a pdf file ?HighOnCodingWanna get high! sure, either you use one time conversion using a program like Adobe Acrobat Professional or want to automate the creation of HTML files into pdf files frequently so you use a component plugged into your ASP.NET app see for more infoThe best glimpse of heaven is on the way into hell ;)yousef.omar@gmail.com

How to convert a PCL file into a PDF file?
How do I convert a PCL file into a PDF file for printing/saving purposes(possibly using Amyuni PDF converter)? Thank you! You would need a 3rd party tool. A search in Google found many results: Brad Alex wrote: > How do I convert a PCL file into a PDF file for > printing/saving purposes(possibly using Amyuni PDF > converter)? > > Thank you! ...

How to convert an RTF File to a PDF File?
Hello, I am using Powerbuilder 10.5.1 build 6565 and the following code to convert an RTF File to a PDF File. rte_1.SaveDocument("test.pdf", FileTypePDF!) But, it fails when I install my app on a different ws. What are the DLLs that I need to copy to the ws? Do I need to install Ghostscript or Adobe Writer? Thanks, Attilio Attilio, 10.5 has a new RichText control. It requires the files located in this directory: C:\Program Files\Sybase\Shared\PowerBuilder\rtc Roland <Attilio> wrote in message > Hell...

How to convert .tiff image file to .pdf file without using any 3rd party tool using
HI allI have a urgent requirement i want to convert .tiff image to .pdf file Thanks in advance Regards RaviPlease click "mark as answer" if this post helped you. I dont think its possible without doing a lot of code or using third party tools, but if you  are looking for a free tool you can try a combination of Thanks and RegardsS.K.Vignesh----------------------Do remember to "Mark as answer" for this pos...

Convert gridview in to a PDF file
 Hi everyone, I think this is possible, but i just don't know how to do it. I have a gridview and what i would want to do is convert this gridview into a a pdf file. Can anyone help me? Thanks a lot.   There's no native way to do this using the framework, the best way would be to create a microsoft reporting services report using the same data that you are populating the gridview with then you can generate a PDF from the report.Please: Don't forget to click "Mark as Answer" on the post that helped you.Cameron Waldron Hi, Your ques...

Convert Or Save Pdf file to html file
I want to convert or save pdf file to html programmatically through 1.1 & C#.Anyone knows solution please let me know coz I do a lot of search but didn't find any kind of solution.  Thanks & regards.   hi, check this link,

How to convert PDF files to normal text file?
Hi, I encountered problem of converting from PDF doc to normal text file. How to strip off the formatting text of the PDF and convert plain text document to normal text file? Much appreciate if you could advise me on it. Thank you. the short answer is "you cant". the long answer is: PDF is a very very complex file format which would require you to write a parser for it. from there, the text in pdf's is stored in a number of diffrnet ways. if you're lucky, they're storing it as a compressed text object & you can just uncompress into a txt file. if you're not lucky,...

convert .doc file to .pdf file in C#
Hello,I need to convert a .doc file to .pdf file in dot net using C# . Any help will be highly appreciated. Thanks Hello, Please check the link below. Hope it will help you, do let me know if it helps you.S.SRIRAM Thanks for your reply but it is not working.  Hello, What problem you r facing?.. Alternate links are here. .... Please let me know if you still face issues,  S.SRIRAM Hi, Based on my understanding, you should belon...

Help: Returning parameter driven MS Word .dot file (data-driven report) saved as .pdf over web.
Hi All, I currently have an application on the server written in C++ that sends parameters to VBA code in MS Word .dot files then launches them so that reports can be viewed in Word format.  I would like to be able to deliver these reports over the web in .pdf format.  Can someone point me in the right direction?  What I need initially is a way for an ASP.Net page to be able to open an MS file, send parameters to, and then run, a VBA method ("RunReport") in the file.  From there I think I can write in the Word's VBA some code to "Save as .pdf...

convert pdf data into binary form
How to convert pdf file or data into binary form and binary form of data into pdf format..  After convert the pdf file should display on the web page Hi rameshraja.muthusamy, Please check the code in this post: Thanks.David QianMicrosoft Online Community SupportPlease remember to mark the replies as answers if they help and unmark them if they provide no help....

Transfer Data from Gridview to pdf file
Guys  Is it possible to transfer data from gridview to pdf file , or how to transfer webpage to pdf page without using 3rd party software. I mean I want to code by myself ASP.NET C#.  Thanks.  DostMy website Hey, Check this out, for me it has worked pretty well. I hope this helps,  Thanks,Please Mark this post as answered if it was helpful. how to get CrystalDecisions.CrystalReports.Engine.dll , is this free download.DostMy website All you need is iTextSharp. Tutorials:

Saving gridview data in pdf file
Hi , I have a problem  to export gridview data  in a pdf file.Can anyone help me to sort out this problem? Thanks Regards' Kaushik You will need a component to produce pdf files.  There are a few free ones about, but you need one that will take html and turn it into a PDF. Regards Mike [MVP - ASP/ASP.NET]My site Hi,Check this Mehedi HasanMark as answer if the post meets your requirement! Hi, The code referred to the url ...

Web resources about - Convert Gridview Data in to PDf file. or Convert report data in pdf file -

GridView SelectedItem Binding Gotcha in WinRT
Last night when I was doing some WinRT hacking I was trying to setup databinding to the selected item in the GridView control and I ran into ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Advanced Search Gridview Latest News Releases All ...

CNW Group
... Services Beyond the Wire About CNW my CNW CNW Access CNW Directories Financials Webcasts Events my CNW All News Releases Advanced Search Gridview ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Add a Filter Gridview Latest News Releases All Today ...

New CmdLets of Powershell 2.0
New CmdLets of Powershell 2.0

Price Drop: Softbox
... objects- create product reflection- changing the background with something more interestingUse it as:- softbox- honeycomb softbox- gridview ...

Profile.aspx: ASP Alliance
.NET,ASP,ASP.NET,SQL,XML,HTML,ADO,ADO.NET,JavaScript,JScript,CSharp,VBScript and VB tutorials from AspAlliance.

Quick Answers - CodeProject
Questions - Free source code and tutorials for Software developers and Architects.; Updated: 25 Oct 2012 - Upcoming stories is a community based news site edited by our members. It specialises in .NET development techniques, technologies and tools including ...

View Features - ExtendASP
Call 847-681-9827 or Request a Demo View Features Testimonials Pricing About Us Coming Soon ExtendASP exposes every feature, more than any other ...

Resources last updated: 1/19/2016 1:54:19 AM