Export C# DataTable into Pdf using iTextSharp

  Рет қаралды 69,220

CodAffection

CodAffection

Күн бұрын

Пікірлер: 44
@CodAffection
@CodAffection 7 жыл бұрын
goo.gl/RFY5C2 : Subscribe to CodAffection goo.gl/g1Apo4 : Export Excel in C# goo.gl/Z6SkSC : C# CRUD Operations With DB goo.gl/G6WRQR : C# Login Window
@workouttv5348
@workouttv5348 5 жыл бұрын
can you give me code in video, please?
@goldahong4392
@goldahong4392 6 жыл бұрын
Thank you for this tutorial. It saves a lot of my time. =)
@CodAffection
@CodAffection 6 жыл бұрын
thanks for the comment.
@blutkraehe_official
@blutkraehe_official 5 жыл бұрын
Hi, I looked at the project and wanted to sort it into my program ... I successfully imported the iTexhtSharp for reference, but I get errors in the class font (eg line 58 "" Font "is an ambiguous reference between" system .Drawing.Font "and" iTextSharp.text.Font ".") And Color in the same line ("Color" is an ambiguous reference between "System.Drawing.Color" and iTextSharp.text.Color") do you have any idea? With friendly greetings
@CodAffection
@CodAffection 5 жыл бұрын
- use iTextSharp.text.Font instead of Font Class
@blutkraehe_official
@blutkraehe_official 5 жыл бұрын
@@CodAffection okay i have it too :D now i want that specific columns in the PDF are smaller than others (for example "ID")
@oumermohammed8912
@oumermohammed8912 3 жыл бұрын
thanks a lot man, It was very helpful
@samuelhalim2303
@samuelhalim2303 3 жыл бұрын
Bro i got problem that say access to the path folder is denied. How do i solve it?
@Princess-we7qi
@Princess-we7qi 2 жыл бұрын
Hello, where did the "ColumnName" come from in this line "dtblTable.Columns[i].ColumName.ToUpper()? I don't see it getting instantiated, please help. Thanks.
@CodAffection
@CodAffection 2 жыл бұрын
Which is configured here friend.Columns.Add("Sl. No");
@manoswiniswain4891
@manoswiniswain4891 4 жыл бұрын
SIr how can we export the pdf file to excel format using wcf can please guide me
@thiri4475
@thiri4475 6 жыл бұрын
How to do to appear Japanese word in this PDF. Now I can't see Japanese words, I just see English Word.Can you help me,Please?
@AliHassanLearnMVC
@AliHassanLearnMVC 5 жыл бұрын
you have to use japanese font in basefont instance ...
@sdtv8923
@sdtv8923 3 жыл бұрын
How to do same process with itextsharp 2.1.7 version
@amitubale5464
@amitubale5464 6 жыл бұрын
PDF password to open.... can we add password as well when we are creating pdf? or if we have already a pdf and we want to add password to that pdf file is that possible through this ?
@TheUntoldStories808
@TheUntoldStories808 7 жыл бұрын
Great Work! Keep it up Man...
@aytenkurnaz4594
@aytenkurnaz4594 6 жыл бұрын
Hello,I tried your code but I took error message about Font and Color.Gray.How can I fix this error?Could you help me?
@jorgequinterodj
@jorgequinterodj 6 жыл бұрын
use BaseColor.GRAY instead the code Color.Gray
@ralphlawrencedeverarillera9883
@ralphlawrencedeverarillera9883 4 жыл бұрын
Thanks. but I'm having problems writing to Desktop, MyDocuments and any Special folders... I modified the code and used Path.GetTempPath() instead
@thifhelimbilu2477
@thifhelimbilu2477 7 жыл бұрын
Hii Sir Do you have any Video of C# Windows Form Application Splitting PDF file Depending on the pages selected by user? Thanks in advance
@CodAffection
@CodAffection 7 жыл бұрын
Sorry, No Video On PDF Splitting.
@thifhelimbilu2477
@thifhelimbilu2477 7 жыл бұрын
Ok thanks but cant you help me regarding that?
@AliHassanLearnMVC
@AliHassanLearnMVC 5 жыл бұрын
arabic is in reverse order and distort ... please tell me how to do this .. how to use UTF-8 font in pdfWriter !!!!
@darinebouzar3575
@darinebouzar3575 7 жыл бұрын
Hello sir, thank you for the video, I am facing problem with Font class (is asking me to add the class System.Drawing.Font;) but the problem persist, second where have you defined the variable strHeader. Thank you
@CodAffection
@CodAffection 7 жыл бұрын
- use iTextSharp.text.Font instead of Font Class - strHeader is function parameter void ExportDataTableToPdf(DataTable dtblTable, String strPdfPath, string strHeader)
@darinebouzar3575
@darinebouzar3575 7 жыл бұрын
thank you so much Sir, great job
@deepaksharma8923
@deepaksharma8923 3 жыл бұрын
well done
@tol_jaydee
@tol_jaydee 7 жыл бұрын
Worth it! Thankyou
@topgames451
@topgames451 7 жыл бұрын
Thank you so much for the upload ! but can i export multiple DataTables in one PDF file ? if not... are there another alternative ways to do so ?
@CodAffection
@CodAffection 7 жыл бұрын
yes you can show multiple DataTable in pdf using PdfPTable; PdfPTable table1 = new PdfPTable(dtblTable1.Columns.Count); PdfPTable table2 = new PdfPTable(dtblTable2.Columns.Count); document.Add(table1); document.Add(table2);
@brettbyrd
@brettbyrd 6 жыл бұрын
Can you remove or move the links to your other videos...you cover up the code at the end of the video...I need that code!
@CodAffection
@CodAffection 6 жыл бұрын
you can download the complete source code from description link.
@workouttv5348
@workouttv5348 5 жыл бұрын
can you give me code in video, please?
@CodAffection
@CodAffection 5 жыл бұрын
hope it's source code is there in video description.
@joginderdumolia9045
@joginderdumolia9045 7 жыл бұрын
Hii sir please video of c# application how to insert multiple recored in database
@CodAffection
@CodAffection 7 жыл бұрын
try this kzbin.info/www/bejne/qXPTf56gmbejpNE
@Phaze976
@Phaze976 8 жыл бұрын
Download link to "c# table to sql server.zip"
@CodAffection
@CodAffection 8 жыл бұрын
you can download demo project from dropbox link : www.dropbox.com/s/omcd77hiri0hzrc/save%20c%23%20table%20to%20sql%20server.zip?dl=0
@Phaze976
@Phaze976 8 жыл бұрын
Sorry, I gave to short message. Your link under video suggests to do download source code for another theme (C# table to sql server) instead code of this video theme - export C# DataTable into pdf. Please, change link to right source code.
@CodAffection
@CodAffection 8 жыл бұрын
oh yes, thanks for the help
@ubaidkv842
@ubaidkv842 2 жыл бұрын
Please share source code. :(
How to Send Email From C# Application
16:58
CodAffection
Рет қаралды 27 М.
The Easiest Way to Create PDFs in .NET
9:47
Nick Chapsas
Рет қаралды 126 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
How to Export Datagridview to PDF in C# Windows Application
21:36
Csharp Space
Рет қаралды 40 М.
C# Tutorial - Generate Excel Report in C# | FoxLearn
10:07
Fox Learn
Рет қаралды 15 М.
how to export datagridview to pdf in c# windows application
13:53
How to Generate PDF in C# (.NET) using PDFsharp
28:55
taurius litvinavicius
Рет қаралды 52 М.
15 IMPOSSIBLE GOALS IN FOOTBALL
9:13
Gustavo Marques
Рет қаралды 10 МЛН
Difference between dataset and datatable in c#
15:05
Vetrivel D
Рет қаралды 106 М.
Every single feature of C# in 10 minutes
9:50
Train To Code
Рет қаралды 161 М.
CREATE and CONNECT DATABASES in ASP.NET
18:11
tutorialsEU - C#
Рет қаралды 73 М.
C# Tutorial - Print Receipt using Report Viewer | FoxLearn
20:03
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 882 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН