470,636 Members | 1,420 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

Mail Merge & DataSets

Hi,

how can I use a dataset (as my datasource) to perform a Word Mail Merge?
maybe methods like wrdMailMerge.OpenDataSource()!? or
wrdMailMerge.DataSource...!? could help but I don't know how to do it.
a simple example could realy help.
Thanks
Mar 28 '07 #1
1 2377
You will likely want to do the actual merge on client side. You will need to
pass the dataset down to the client in a way that can be consumed by MS
Word. This article is for classic asp but you can get the idea and apply it
to asp.net:

How to automate Word to perform a client-side Mail Merge using XML from SQL
Server
http://support.microsoft.com/kb/285176

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Badis" <Ba***@discussions.microsoft.comwrote in message
news:6E**********************************@microsof t.com...
Hi,

how can I use a dataset (as my datasource) to perform a Word Mail Merge?
maybe methods like wrdMailMerge.OpenDataSource()!? or
wrdMailMerge.DataSource...!? could help but I don't know how to do it.
a simple example could realy help.
Thanks

Mar 28 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by antonovaCCCS | last post: by
2 posts views Thread by Aaron | last post: by
8 posts views Thread by Squirrel | last post: by
reply views Thread by Phil C. | last post: by
3 posts views Thread by Bishman | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.