我给Word文档写了一封信,现在我想替换信件中的人名,而名字列表在我的asp项目中的sqldatabase中,我如何加入他们? 例如我在单词中有这封信: //------------------ 尊敬的 usernamae 信件正文 //------------------ 现在我要替换sqldatabase中的用户名并自动准备好字母 对于wxample,如果我有3个用户名,它会为我写3个字母,再见相同的身体 我的用户名{mohammad-reza-ali} 参见: 亲爱的穆罕默德 信件正文 ------------ 亲爱的阿里 信件正文 ------------ 尊敬的reza 信件正文 ------------
i am written a letter to a word document and now i want replace the name of people in the letter and the list of name is in the sqldatabase in my asp project,how can i join them? for Example i have this letter in the word: //------------------ Dear usernamae letter body //------------------ now i want replace the username from sqldatabase and ready the letter automatically for wxample if i have 3 user name it make 3 letter for me bye equal body my username{mohammad-reza-ali} see: Dear mohammad letter body ------------ Dear ali letter body ------------ Dear reza letter body ------------
推荐答案所需的功能是所谓的"mailmerge".尝试使用该搜索进行搜索,您将获得所需的所有信息. 祝你好运! The functionality you want is a so called "mailmerge". Try a search using that and you will get all the information you''ll need. Good luck!
更多推荐
asp.net数据库表到word
发布评论