Server side ms mail merge
-
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
-
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
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[^].