How to perform Mail Merge through C# ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santusapi
    New Member
    • Mar 2010
    • 26

    #1

    How to perform Mail Merge through C# ?

    I am facing a problem in performing Mail Merge through C#. I am using MS Office 2007.

    I have created the template with mail merge which is taking data from MS Access. Through C# code, I am storing values in Access. But if I open the template through the code, mail merge is not performing. It is opening with only tags and not with the values for the tags. But it is working properly if I open the template manually.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Database to Word mail merge

    Comment

    • santusapi
      New Member
      • Mar 2010
      • 26

      #3
      The link is not working.
      Pls check once

      Comment

      • tlhintoq
        Recognized Expert Specialist
        • Mar 2008
        • 3532

        #4
        You are right. That used to be a valid thread here on bytes. # 884000
        I don't know what happened to it. Sorry.

        Comment

        • santusapi
          New Member
          • Mar 2010
          • 26

          #5
          Ok thank you. I got the answer. Thanks a lot for the reply.

          Comment

          • David den
            New Member
            • Jul 2010
            • 1

            #6
            Hello,
            You can use Spire.Doc to do mail merage in office 2007, very easy.
            mail merage example,

            more,
            Spire.Doc enables .NET(C#,VB.NET,ASP.NET) applications to read, modify and write Word documents without Microsoft Word. Support and Convert DOC, DOCX to PDF, EPUB, XPS, XML, RTF, HTML, SVG, XPS, EPUB, EMF, ODT, TEXT and image.


            Hope useful to you.

            Comment

            Working...