MailMerge.OpenDataSource错误! [英] MailMerge.OpenDataSource Error!!

查看:199
本文介绍了MailMerge.OpenDataSource错误!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我的代码....


hello,


My Code ....


object oConnection = "Data Source=mydatasource;Initial Catalog=mydb;User ID=myuser;Password=mypass";
       object oQuery = "SELECT * FROM myTable";
       oDataDoc.MailMerge.OpenDataSource("", ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oConnection, ref oQuery, ref oMissing, ref oMissing, ref oMissing);





ERROR: Command Failed!!!<br />
<br />
   ...Plz HElp..

推荐答案

看看此示例示例的操作方法.
MailMerge.OpenDataSource方法 [ ^ ]

此外,请查看这些讨论类似问题的链接:
邮件合并问题-1 [邮件合并问题-2 [
Have a look at this sample example how to do it.
MailMerge.OpenDataSource Method[^]

Further, look at these links discussing similar issues:
Mail merge problem - 1[^]
Mail merge problem - 2[^]


这篇关于MailMerge.OpenDataSource错误!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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