Click here to Skip to main content
15,885,716 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
im trying to Create word document output with images (and text) using C# and ASP.NET

can anyone help me with this ?

i'm using 3.5 version of ASP/C#.NET
Posted

Have a look at this article: Export to word From Asp.Net C#[^] - Add images, text, all what you want before the export part.

In this one: Export Panel in ASP.NET[^] - Put everything in a panel and then export it.
 
Share this answer
 
Comments
Maciej Los 13-May-12 12:40pm    
+5 ;)
Sandeep Mewara 13-May-12 12:52pm    
Thanks losmac. :)
Sergey Alexandrovich Kryukov 13-May-12 12:49pm    
To the point, a 5.
--SA
Sandeep Mewara 13-May-12 12:52pm    
Thanks SA :)
Monjurul Habib 13-May-12 15:30pm    
my 5!
If you do not need to generate word documents that will work with versions prior to Word 2007, you could use the OpenXML SDK [^]to create your Word Document.

Here is an example of how to do it:

http://msdn.microsoft.com/en-us/library/bb497430.aspx[^]

Another product which I have used for years and works really well is Aspose[^].
 
Share this answer
 
Comments
Monjurul Habib 13-May-12 15:30pm    
my 5!
Manas Bhardwaj 13-May-12 15:34pm    
thanks Monjurul!
ammar_shaker 21-May-12 6:06am    
i downloaded a demo for full aspose software but there is no option for exporting images into doc files.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900