当前位置: 代码迷 >> ASP >> 高分求解 调用子程序时不能使用括号解决办法
  详细解决方案

高分求解 调用子程序时不能使用括号解决办法

热度:149   发布时间:2012-02-26 20:19:44.0
高分求解 调用子程序时不能使用括号
Microsoft   VBScript   编译器错误   (0x800A0414)
调用子程序时不能使用括号
/格致网站/certresult.asp,   line   34,   column   70
.SetRequestHeader( "Content-Type ", "application/x-www-form-htmlencoded ")
---------------------------------^

With   Retrieval  
.Open   "post ",   url,   False
.SetRequestHeader( "Content-Type ", "application/x-www-form-urlencoded ")
.Send( "FrontCertNo=FrontCertNo1&FrontExaminerNo=FrontExaminerNo1&FrontIdCard=FrontIdCard1&FrontExaminerNo=FrontExaminerNo1&FrontName=escap(FrontName1)&KSLX=KSLX1 ")
End   With  

求大家帮帮忙啊     我实在不行了!!!

------解决方案--------------------


只有用 CALL 调用时才需要写括号啊
------解决方案--------------------
SetRequestHeader( "Content-Type ", "application/x-www-form-htmlencoded ")
改成这样,

SetRequestHeader "Content-Type ", "application/x-www-form-htmlencoded "


错了,你找我麻烦,结帖吧
  相关解决方案