I am using Aspose Word to do a mail merge from a datatable. The only trouble is, when I run it (there are about 300 people in the datatable), some of the people are removed and others are duplicated in their place. I have debugged through and checked and the correct information is in the datatable, right up to when I pass it in. I have downloaded the latest version from your site and that hasn't made any difference either.
The code that I am using is as follows:
protected void CreateLabels(DataTable m_search)
//Open the template document
Document doc;doc = doc = new Document(Server.MapPath("~/NQTManager/Labels/LabelsTemplate2.doc"));
//Perform the mail merge
doc.Save("labels2000.doc", SaveFormat.FormatDocument, SaveType.OpenInWord, this.Response);
Thanks for your help