Hi,
I’m new to this forum. Before going forward with Aspose I wanted to do 3 tests to see if this soft is what we want. Adding text and image to a word document is ok so far but what about a gridview ?
I’m far from understanding all the subtilities of Aspose.Word and did not succeed to export a gridview like something I used to do :
Dim oStringWriter As New System.IO.StringWriter()
Dim oHtmlTextWriter As New System.Web.UI.HtmlTextWriter(oStringWriter)
Me.GridView1.RenderControl(oHtmlTextWriter)
HttpContext.Current.Response.Output.Write(oStringWriter.ToString())
Coul you please show me an exemple with Aspose.word ?
Something similar to that should work I guess but at the moment I’m just having the gridview html code reproduced in the word document :
Dim doc As Document = New Document("Document.doc")
doc.MailMerge.Execute(New String() {"toto"}, New Object() {oStringWriter.ToString()})
doc.Save("Report Out.doc", SaveFormat.Doc, SaveType.OpenInBrowser, Response)
Thank you