I am kinda lost here.I downloaded the trial version and I am trying to do mailmerge as I want it to so i shall make up my mind to buy this product.however I just trying create a small app using your dinnerinvitationdemo. Below is the code.I am getting a syntax error in
ExecuteDataTable
Imports Microsoft.VisualBasic
Imports System.Data
Imports Aspose.Words
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Btnrun_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Btnrun.Click
Dim docpath As String = "C:\CWEB\"
Dim doc As Document = New Document(System.IO.Path.Combine(docpath, "testtemplate.doc"))
'Mail merge customer details from DataTable to the document.
'Whole document content will be repeated for each record.
Dim customers As DataTable = ExecuteDataTable("SELECT TOP 5 * FROM AsposeWordCustomers WHERE Country = 'USA'")
doc.MailMerge.Execute(customers)
End Sub
please help