Convert Excel (or Dataset) to PDF using C#.NET

Is there any option in .NET 2005 to generate PDF files either using an Excel sheet or a dataset?

3/3/2008 12:14:36 PM 91979 articles. 4 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 42

Not natively, but a ton of third party tools/components exist.


Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
3/3/2008 12:25:20 PM

None built in will have to get some 3rd party component. I don't know of anything that is free 

If you get the answer to your question, please mark it as the answer.
3/3/2008 12:31:42 PM


 There are two processes to achieve it. You can retrieve the data from excel file and import into DataSet. And then you can use ABCpdf to create a new pdf file with the datas from DataSet.

1. The below thread can lead you to import excel file to DataSet.

2. And then you can use  ABCpdf to create a pdf file with the data from DataSet.

You can try this Three-Party Control  to operate and read/create your PDF file. There is a link to download:

There is a great demo available in the above link and you can learn how to use it.

Support document: 

Feature chart:

This thread is about creating pdf file:

Hope this can help.

Vince Xu
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
3/5/2008 1:48:29 AM

Similar Artilces:

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Regarding Converting DataSet to PDF format in C#.Net/VB.Net
Hi, I can anyone help me regarding conversion of an dataset to PDF format. Thank YouMark as Answer if it helped youGayathri gayathri.pmsc: Hi, I can anyone help me regarding conversion of an dataset to PDF format. Thank You Either do it using Crystal Reports or create an html ny looping though dataset and then to pdf using itextsharp as Answer if this reply helps youMVP ASP/ASP.NetASP.Net Hosting : Host DepotMy Site : ASPSnippets...

used a to converter and am now getting a syntax error.
ok I used a cool utility at to convert some to and it spit out a bunch of code which almost works but I am getting a syntax error on this line Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream()) I tried it that way and also like Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream()) but either way gave the same error Compiler Error Message: BC30035: Syntax error. Source Error: Line 26: Line ...

use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...

converting to from offered me some sample code when I signed up with them the only problem is the sample code is in but my page that they type all of their credit card into is <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage(""); } private String readHtmlPage(string url) { ...

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...

how to convert dynamicaly loading images to pdf using HTML to PDF Converter for .NET
how to convert dynamicaly loading images to pdf using HTML to PDF Converter for .NET Now am converting using how to convert dynamicaly loading images to pdf using HTML to PDF Converter for .NET  tool. But the dynamicaly loading images are not showing in the pdf .     Are you using 3rd party tool or you are using iTextSharp free utility? If it is 3rd party tool, it's always suggested to ask the company which built the tool. Sreedharhttp://www.w3coder.orgweblog Hi vishnusekhar, As to convert images/douments ...

Convert CSV Format to DataSet using array in C#.NET
Hi Developers!I need sample C# code on HOW TO CONVERT CSV FILE TO DATASET USING ARRAY.NEED YOUR HELP    May The Force Be With You ... Why are you using an array?  It's very simple to select from a CSV file into a DataSet using ADO.NET and OLEDB: Darrell Norton, MVPDarrell Norton's BlogPlease mark this post as answered if it helped you! Hi, thanks for the reply. Because I saw a code b4 in C# using an array and its very fast converting a 400MB csv file. Also because the csv are separated in several category...

Converting windows application using web service from Visual 2003 to Visual 2005
Hello, everyone! I have a solution which contains a windows project,a web service project and several other library projects. These projects were coded under visual 2003. Now I need to converted them to use Visual 2005. Does any one know any article providing step-by-step guide  to converting WINDOWS APPLICATION with web service? I can find one under MSDN for converting web project.  But I guess I am a little confused if mine should follow this article since I am using web service in my windows application? Thanks a lot in advance.  ...

Hi theretrying to complete a login page.  The example I have is written in visual basic, can you please convert the following statement into C# for a submit button (transferring data to a database!!):Sub btnSubmit_Click(sender As Object, e As EventArgs)   If Page.IsValid then      InsertGuestbookEntry(name.Text, email.Text, message.Text)      Response.Redirect("ViewGuestbook.aspx")   End IfEnd SubAlso, the following for retrieving data from a database into a drop down menu:Sub Page_Load (sender as ...

Converting from to
Hello I have recently purchased VBGolds RawDataPrinter which should allow users to print directly to label printers on our network directly from a c# web form.  Unfortunately they only supply examples and I have need of c#.  The component has been installed on our web server.  This is some code that they have supplied as examples in   "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" >"Head1" runat="server&qu...

use of and
i make a small website using,  in it i make a 2 class in that i want to use in that website, i dont know how to call that class. let your class is  - class clsMyClass    {        public void myFunction()        {            // do something        }    } now the first way - create objectclsMyClass myObj = new clsMyClass();myObj.myFunction(); // call function================...

Using Dot Net Nuke to maintain a site developed in VS.NET using C#
Hi,Does anyone know if there is a way to create a site using C# and Visual Studio.NET 2003, but then use Dot Net Nuke to allow non-technical users to add content to the site.  The current state of the site must be accessible in both VS.NET and DNN regardless of which application saved it last.  Also preferably I would like the language used to remain C# even when edited by the marketing staff, so that I can still maintain it myself using VS.NET.  Hope you understand what I mean. If this is not possible, I wonder if anyone knows what solution I am after.   Thanks in adv...

Convert VB.Net application to
Haican any one help me to convert VB.Net application in this link to Palavila  Regards Anu Palavila Use this Free Conversion tool -  ASP.NET Grid With Excel Capabilities | 27 GridView Tips & Tricks | Hosting your site? | SQL Server Tips Other Code Convertors (convert VB to C# and C# to VB)

Web resources about - Convert Excel (or Dataset) to PDF using C#.NET -

File:Convert to SVG and move to Commons.svg - Wikipedia, the free encyclopedia
As a courtesy (but not a requirement), please e-mail me or leave a note on my talk page if you use this image outside of Wikipedia. Thanks! As ...

Facebook Co-Founder Dustin Moskovitz Sells 450K Shares, Converts 7M More
The great Facebook stock sale frenzy continues on with a report that Co-Founder Dustin Moskovitz unloaded 450,000 shares in the social network ...

Facebook Announces “App2User” Liquidity Program for Merchants to Convert Rewards Points into Credits
... for Credits, just announced a new Credits program called “App2User,” designed to enable merchants and loyalty program operators to convert their ...

How to Convert Leads Into Buying Customers - The 9 Step Sales Process EVERYONE Should Use
... School of Business in Toronto on the topics of Sales and Entrepreneurship. I shared with them the sales process that I find How to Convert Leads ...

Bitcoin : Should I convert my savings to Bitcoin?
Answer (1 of 7): You should think of this question as "Should I invest all my savings in Bitcoin?", and not "Should I have my savings denominated ...

Convertizo 2 - Convert Units and Currency in Style on the App Store on iTunes
Get Convertizo 2 - Convert Units and Currency in Style on the App Store. See screenshots and ratings, and read customer reviews.

Opinion: These 5 things made me a happy iPad Pro convert
... like I needed a bigger device. But after three weeks with my iPad Pro, several things have changed my mind, and I’m officially a happy convert ...

$100 device converts all your film to digital photos
... still on film negatives. Today, we've got the perfect Amazon Cyber Week deal for you: A Wolverine F2D Mighty 20MP 7-in-1 Film to Digital Converter ...

"ISIS 'ranks' the women, considering foreign women and converts to be especially 'valuable.' "
"According to French journalist Anna Erelle’s recent exposé , ISIS foreign fighters prefer foreign women and converts because the jihadists find ...

Stanford Designs Underwater Solar Cells That Convert Greenhouse Gases Into Fuel
... solar industry and the battle against climate change. Importantly, writes Stanford [&hellip Stanford Designs Underwater Solar Cells That Convert ...

Resources last updated: 12/9/2015 10:43:41 AM