473,588 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using itextsharp to generate pdf from asp.net

Hi,

I just started reading on http://itextsharp.sourceforge.net/tutorial/index.html and it seems like brillant.

I would just like to know, has anyone worked in exporting a datagrid in pdf format.

My objective is to pick a datagrid up and convert that into pdf format

I really appreciate the time and efforts put to help programmers by these newsgroups, they are really great

Thank Yo

Sean
Nov 18 '05 #1
1 1971
Yes, we have a guy at our company experimenting with this product now. So far from what I've been hearing from him is that it's really good. Best of all it's in process dll that can be easily used with .NET

I don't think it can convert datagrid as it is though. But it does convert html files into pdf. So you probably have to convert an html page with the datagrid in it

Suresh.
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2649
by: Gerry | last post by:
Has anyone else experienced this problem? I am using iTextSharp to generate PDF documents from XML files. Here is the problem. When I run the app on my development machine, everything works as it should. When I run the app on test machines, the PDF document does not get generated correctly. The actual file that is output shows a size of 0 bytes and if I try to open
0
1865
by: Nique | last post by:
Hey all I'm trying to create a PDF document using iTextSharp. Now creating the thing is all kewl, open in browser, save to disk, all that is fine, but I'd like to know if anybody has managed to get web controls like datagrids or datalists added to the output page. iTextSharp as it stands allows you to add tables and paragraphs all formatted etc,
1
1730
by: Patrick Olurotimi Ige | last post by:
Has anybody used the itextsharp http://itextsharp.sourceforge.net to convert asp.net pages to PDF files? Any asp.net examples? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
2605
by: gwhite1 | last post by:
I am using the auto-generate fields option because my query can be different based on what the user selects. But I would still like to set the column alignment but I can;t seem to access the columns in code after the data has loaded. Any ideas?
7
11393
by: pamela fluente | last post by:
hi, What is the cleanest and effective way to use the PrintDocument object to print directly to a pdf file "myfile.pdf" (with no prompt to the user: just print to file and make pdf) ? Does anyone have a simple code snippet? Either VB or C# will be perfect.
0
2182
by: antonyliu2002 | last post by:
I have no problem writing PDF file to hard drive on the fly with iTextSharp, but have had no luck in sending PDF as a stream in my asp.net web application. I am simply copying the example at http://itextsharp.sourceforge.net/examples/Chap0105.cs But, Adobe Acrobat reader complains that the file has been damaged or cannot be opened, or says something like "if the file was sent as an
1
1408
by: vimalvisves | last post by:
Hi friends, I have generated pdf document using iTextSharp in .NET in runtime and display in page (with out generating file). In PDF report in page, i saw a option "Send email", if i click that, it open outlook express "compose mail page", that contains pdf file as attached. My problem is the pdf file attached in mail is not in the extention of pdf, the file name of attached document is PrintRep.aspx, which is the file in wich i have...
0
1920
by: ankitnagpal1692 | last post by:
When password in Arabic language is set in pdf using itextsharp, it does not open in Adobe Acrobat Reader using the same password in Arabic. While it is working fine for English language. When I set a password in Arabic language in a pdf using itextsharp, the file can be opened in Adobe Acrobat Reader using the same password. How can I set a password in Arabic language in a pdf using itextsharp such that it can be opened in Adobe Acrobat...
0
2496
by: kvlkarthik | last post by:
Hi All, I am using fileupload control to save a tiff and PDF files in SQL database. I am saving the file in byte format. I am using the below code to display in PDF file where the byte array is a original PDF byte array stream. byte image; dr = cmd.ExecuteReader(); dr.Read();
0
8222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8223
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5398
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3847
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3883
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1458
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1195
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.