Problem with using ExecuteADO method in Mail merge


#1

Hi,

I am evaluating the Aspose.word. I have working with mail merge concepts. Mailmerge.Execute() method works fine with C# windows application. But I don't know how to use Mailmerge.ExecuteADO() and Mailmerge.ExecutewithRegionsADO(). Can you please create a simple application for using ADO.

Thanks,


#2

You can find the related code snippets in MailMerge.ExecuteADO and MailMerge.ExecuteWithRegionsADO articles of Aspose.Words API Reference. Please mind that this methods are written specifically for using Aspose.Words classes as COM objects in applications built using ASP or Visual Basic 6.0.

Online versions of the articles can be found at:

http://www.aspose.com/Products/Aspose.Word/Api/Aspose.Words.Reporting.MailMerge.ExecuteWithRegionsADO.html

and

http://www.aspose.com/Products/Aspose.Word/Api/Aspose.Words.Reporting.MailMerge.ExecuteADO.html


#3

Hi,

They where given the sample for only VB. I need to know is it possible in C#. Can you please given the link for C# sample coding for that.

Thanks,


#4

All of the database related tasks in C# can be done using ADO.NET. Please tell me do you have any serious reasons to use ADO instead.


#5

I want to know the functionality of Mailmerge.ExecuteADO() and Mailmerge.ExecutewithregionsADO() using C#. Can u send me a sample script same like given(VB) in the link with C# code.

Online versions of the articles can be found at:

http://www.aspose.com/Products/Aspose.Word/Api/Aspose.Words.Reporting.MailMerge.ExecuteWithRegionsADO.html

and

http://www.aspose.com/Products/Aspose.Word/Api/Aspose.Words.Reporting.MailMerge.ExecuteADO.html


#6

If you work in C# then you should not use ADO objects normally. We do not have a code sample for that.