本文介绍了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错误!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!