Hi I am quit new to this product, all I am trying to do is add content from database to the word document after a page or paragraph.
Please see the current code
Document document = new Document();
document.LoadFromFile(@"..\..\..\Template_structure\Full_Junior_template.docx");
Paragraph paragraph = document.AddSection().AddParagraph();
paragraph.AppendText("Hello World");
document.SaveToFile("sample.docx", FileFormat.Docx,Response,HttpContentType.Attachment);
try
{
}
catch
{
}
Any help will be appriciatable.
Thank you.