how to write contents in a word doc or pdf in c#
how to write contents in a word doc or pdf in c#
like if i want to write some daily reports generated into word doc or pdf ..in unix we can just pipe the out put to text file can we do that in c# .i know that using string builder we c开发者_运维问答an write the contents to text files can we write the contents to a doc or pdf format ?
You're looking for a library that can write PDF files or Word documents, such as Aspose or iTextSharp.
You need something like iTextSharp http://sourceforge.net/projects/itextsharp/
And if you want something smaller than iTextSharp to create PDF reports, try Report.NET.
精彩评论