2.插入或替换操作
(1)替换数据法
string ls_find_string,ls_replace_string
//取数据库中数据赋值变量ls_replace_string(程序略)
ls_find_string = "student_name"
ls_replace_string = “张某” ole_Word.object.application.Selection.find.Execute(ls_find_string,false,true,
发布: 2008-10-14 09:35 | 作者: 互联网络 | 来源: 希赛网 | 查看: 5次 | 进入领测软件测试网论坛讨论
2.插入或替换操作
(1)替换数据法
string ls_find_string,ls_replace_string
//取数据库中数据赋值变量ls_replace_string(程序略)
ls_find_string = "student_name"
ls_replace_string = “张某” ole_Word.object.application.Selection.find.Execute(ls_find_string,false,true,