Hi tommy- i am sending the same message again with sample code. If u help on this it is very useful to me

Hi Tommy,

Here with i am sending a code sample which will give correpted table error. Pls give me a solution. Here u can suggest mail merge. but my original requirement will not suit mail merge.

Thanks in advance,

I.Prabhaharan.

    Dim templateDoc As New Document("C:\Inetpub\wwwroot\Print Tool\TableTemplate.doc")
    Dim answerKeydoc As New Document("C:\Inetpub\wwwroot\Print Tool\Template.doc")
    Dim builder As New DocumentBuilder(answerKeydoc)
    Dim intI As Integer
    For intI = 0 To 9
        currentTable = answerKeydoc.ImportNode(templateDoc.SelectSingleNode("//Table[1]"), True)
        answerKeydoc.Sections(0).Body.Tables.Add(currentTable)
    Next intI
    Dim dstStream As MemoryStream = New MemoryStream
    answerKeydoc.Save(dstStream, SaveFormat.FormatDocument)
    Response.Clear()
    Response.ContentType = "application/msword"
    Response.BinaryWrite(dstStream.ToArray())
    dstStream.Close()
    Response.End()

Answered in https://reference.aspose.com/words/net/aspose.words.document/save/methods/5