dw_1.saveas(c:a.xlsexceltrue) 最后参数为FALSE 不保存表头保存到指定文件string str_savenamenamedint excelokli_netoleobject excelserverexcelserver=create oleobject excelok=excelserver.connecttonewobject(excel.appl