473,666 Members | 2,237 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to emulate Word mail merge in HTML?

I have a database with customers. I aslo have a simple HTML newsletter:

Hello [Insert Name]!
Your address is [Insert Address], [Insert City], [Insert State].
You work for [Insert Company].
Here is your logo: [Insert Logo Graphic].

I want to let the user:
1. Edit the newsletter in a text box and
2. Print out this HTML letter for any selected user. The [Insert xxx]
fields will be taken dynamically from the database. This is much like a
Word mail merge.

Any ideas or suggestions how to do this?

(By the way, I am a VB.NET/ASP.NET programmer.)
Nov 18 '05 #1
2 1415
you can try with having an xsl generating your html content.
get your custom data in xml format and generate all your newsletters.

Av.
"VB Programmer" <gr********@g o-intechN0SPAM.co m> wrote in message
news:OU******** *******@TK2MSFT NGP09.phx.gbl.. .
I have a database with customers. I aslo have a simple HTML newsletter:

Hello [Insert Name]!
Your address is [Insert Address], [Insert City], [Insert State].
You work for [Insert Company].
Here is your logo: [Insert Logo Graphic].

I want to let the user:
1. Edit the newsletter in a text box and
2. Print out this HTML letter for any selected user. The [Insert xxx]
fields will be taken dynamically from the database. This is much like a
Word mail merge.

Any ideas or suggestions how to do this?

(By the way, I am a VB.NET/ASP.NET programmer.)

Nov 18 '05 #2
Any online examples (links etc...)?

How would the user be able to edit the newsletter?

"avnrao" <av*@newsgroups .com> wrote in message
news:eh******** ******@TK2MSFTN GP09.phx.gbl...
you can try with having an xsl generating your html content.
get your custom data in xml format and generate all your newsletters.

Av.
"VB Programmer" <gr********@g o-intechN0SPAM.co m> wrote in message
news:OU******** *******@TK2MSFT NGP09.phx.gbl.. .
I have a database with customers. I aslo have a simple HTML newsletter:

Hello [Insert Name]!
Your address is [Insert Address], [Insert City], [Insert State].
You work for [Insert Company].
Here is your logo: [Insert Logo Graphic].

I want to let the user:
1. Edit the newsletter in a text box and
2. Print out this HTML letter for any selected user. The [Insert xxx]
fields will be taken dynamically from the database. This is much like a
Word mail merge.

Any ideas or suggestions how to do this?

(By the way, I am a VB.NET/ASP.NET programmer.)


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1093
by: Andy | last post by:
I am trying to do the following from an ASP.NET Web Application (C#). User fills out a form. The program takes those answers and merges them with a WORD document. I have tried the few examples of launching word from my app and get ACCESS DENIED when the Word attempts to start. Once the merge is complete, the document gets saved and sent to the user to open and further edit if necessary. The initial merge part doesn't have to
2
12511
by: Steve M | last post by:
I'm trying to do invoke the mail merge functionality of MS Word from a Python script. The situation is that I have a template Word document, and a record that I've generated in Python, and I want to output a new Word .doc file with the template filled in with the record I've generated. (To refresh your memory, in Word a mailmerge is achieved by a) under Tools -> Letters and Mailings, check off Show Mail Merge Toolbar; b) open a document...
4
276
by: Andy | last post by:
I am trying to do the following from an ASP.NET Web Application (C#). User fills out a form. The program takes those answers and merges them with a WORD document. I have tried the few examples of launching word from my app and get ACCESS DENIED when the Word attempts to start. Once the merge is complete, the document gets saved and sent to the user to open and further edit if necessary. The initial merge part doesn't have to
2
3372
by: Colin Halliday | last post by:
I have a Word 2003 mail merge main document (form letter) that is linked to another Word document data source for the mail merge. If I open this doc using the Word GUI, it first asks me to confirm that I want to run a query to select the data from the data source file, then it opens the form letter fine. I can preview the merged records and complete a merge to a new document. I have a VB 2006 project (.net framework 2.0) which opens the...
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8550
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8638
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6191
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.