Hello,
I must be missing something very basic in this process. Can anyone set me straight? I have created a Word doc with several MergeFields. I would like to create a merged document derived from this "template"document. To this end I am following the outline prescribed in the Aspose Programmer’s Guide(atleast I think I am).
The following code causes a sys.Webforms.PageRequestManagerParserErrorException. …
Error Parsing near '? | ? '. Can anyone tell me what I am missing?
Dave
protected void btnGenerateApose_Click(object sender, EventArgs e)
{
Document doc = new Document(@"C:\Docs\TermSheet\TermSheet.Doc");
doc.MailMerge.Execute(new string[] { "OrgName", "OrgAddress1", "OrgAddress2", "OrgCity", "OrgState", "OrgZip", "FirstName", "LastName", "Title" },
new object[] { "Test Merge Company.", "1111 First St.", "Ste. 1111", "Los Angeles", "CA", "91111", "ContactFirst", "ContactLast", "Owner" });
doc.Save("TermSheet Out.doc", SaveFormat.Doc, SaveType.OpenInBrowser, Response);
}