ASp.net C#中的邮件合并程序 [英] Mail Merge Program in ASp.net C#

查看:159
本文介绍了ASp.net C#中的邮件合并程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的需要是我的sql数据库中有一个模板.我必须从db获取名称,地址之类的详细信息,并将其添加到模板中并执行邮件合并的操作.

正在使用VS 2008,C#,Office 2007和SQL 2005

Hi
My need is that i have a template in my sql database . I have to get the details like name,address from db & add it to the template & perform the action of mail merge .

Am uSing VS 2008,C#, Office 2007 & SQL 2005

推荐答案

如果在以下
If found below in this Mailmerge issue[^]

如果文档中没有MailMerge对象,您将看到此消息,如果Word没有打开数据源,则会发生此消息.

目前,我想说为什么有两种强烈的可能性
发生在某些机器上而不是其他机器上:
一个.
http://support.microsoft.com/kb/825765/en-us [ ^ ]已应用于某些
机器而不是其他
b.在某些计算机上,Word更新比其他计算机上的更新最新(相当
最新的安全更新已更改Word打开时的行为
MailMerge文档).
You will see this message if there is no MailMerge object in the document, and that will happen if Word did not open the data source.

At the moment I would say there are two strong possibilities why thiat would
happen on some machines and not others:
a. http://support.microsoft.com/kb/825765/en-us[^] has been applied on some
machines and not others
b. Word updates are more up-to-date on some machines than others (a fairly
recent security update has altered Word''s behaviour when it is opening
MailMerge documents).


im dinesh kumar
我完成了邮件合并的概念

首先从您的sql数据库表到数据集传递您的值
您表中的值不应为
null
然后在表格视图中保存在Word文档中
使用您的活动文档对文档进行文字处理
在您的活动文档中使用(«" names»")在缺少的单词文档中使用这样的内容


如果您有疑问,请发邮件给我
im dinesh kumar
i done mail merge concept

first from your sql database table to dataset pass your value
In your table values should not be
null
and then save in word document in table view
use your active document to word document
in your active document use ( "«"names "»" )like this in your missing word document


if you have doubt mail me


这篇关于ASp.net C#中的邮件合并程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆