Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Server side ms mail merge

Server side ms mail merge

Scheduled Pinned Locked Moved ASP.NET
csharpquestionc++asp-netdatabase
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tmoney101
    wrote on last edited by
    #1

    OK, I am about to pull my hair out, and this is why. I am building a webpage using asp.net (c#), that collects data via a form. The data is saved to a mysql db. Now I have a ms word document on my pc that is a template. It has certain sections where the data colected from the form needs to be inserted. Now of course a mail merge is the perfect solution but how do i do this? I would love to have it done on the server, but I have read and searched and cant find any easy way to do, or any way at all for that matter. I thought I found a solution is JSisys's WordReport. But going to there website I noticed it has dissapeared, with no mention. Is there anyway I can do this using asp.net on the server? I know I can do this manually on my pc, if i just export a text file containing the data from the web form and use that file to perform a mail merge with ms word open, but there must be a way where i can eliminate the manual process of opening word and doing it that way?????? I have looked at automation from a c++ program but I belive this just opens word and automates it this way. And I dont wish to word to open everytime someone submits the form... Can anyone help me out? It would be so much appreciated I cant explain. Cheers

    M 1 Reply Last reply
    0
    • T tmoney101

      OK, I am about to pull my hair out, and this is why. I am building a webpage using asp.net (c#), that collects data via a form. The data is saved to a mysql db. Now I have a ms word document on my pc that is a template. It has certain sections where the data colected from the form needs to be inserted. Now of course a mail merge is the perfect solution but how do i do this? I would love to have it done on the server, but I have read and searched and cant find any easy way to do, or any way at all for that matter. I thought I found a solution is JSisys's WordReport. But going to there website I noticed it has dissapeared, with no mention. Is there anyway I can do this using asp.net on the server? I know I can do this manually on my pc, if i just export a text file containing the data from the web form and use that file to perform a mail merge with ms word open, but there must be a way where i can eliminate the manual process of opening word and doing it that way?????? I have looked at automation from a c++ program but I belive this just opens word and automates it this way. And I dont wish to word to open everytime someone submits the form... Can anyone help me out? It would be so much appreciated I cant explain. Cheers

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      IMHO, to perform mail merge at the server side you'll basically have two options a/ Use the Automation[^], but I don't prefer this way. b/ Use a third party component like Aspose.Word[^].

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups