|
int i;
static char *type[]={"A'","B","B'"};
for (i=0;i<=2;i++)
{
web_submit_data("inputactive.do_4",
"Action=http://192.168.0.227:8080/dsaes/inputactive.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.227:8080/dsaes/inputactive.do",
"Snapshot=t13.inf",
"Mode=HTML",
ITEMDATA,
"Name=actionMethod", "Value=singleInput", ENDITEM,
"Name=schoolid", "Value=4028806307f91bbb0107f91c62440002", ENDITEM,
"Name=schoolname", "Value=测试小学", ENDITEM,
"Name=grade_hidden", "Value=2012001,1", ENDITEM,
"Name=select_grade", "Value=2012001,1", ENDITEM,
"Name=class_hidden", "Value=2012001,1,1", ENDITEM,
"Name=select_class", "Value=2012001,1,1", ENDITEM,
"Name=select_classall", "Value=2012001,1,1", ENDITEM,
"Name=studentids", "Value=4028806307f91bbb0107f91e3687000a", ENDITEM,
"Name=studentids", "Value=4028806307f91bbb0107f91e36680009", ENDITEM,
"Name=checkbox", "Value=checkbox", ENDITEM,
"Name=resunitid", "Value=4028806307f91bbb0107f91c62440003", ENDITEM,
"Name=resunitInputType", "Value=select", ENDITEM,
"Name=resunitname", "Value=测试小学", ENDITEM,
"Name=resunitnameInput", "Value=", ENDITEM,
"Name=evaCritId", "Value={id}", ENDITEM,
"Name=gradeSort", "Value={type}'", ENDITEM,
"Name=actionDate", "Value=2005-12-05", ENDITEM,
"Name=actionDays", "Value=1", ENDITEM,
"Name=actionTheme", "Value={hdbt}", ENDITEM,
"Name=disp_grade_all", "Value=0", ENDITEM,
"Name=disp_class_all", "Value=0", ENDITEM,
EXTRARES,
"Url=images/back.gif", ENDITEM,
LAST);
}
请问为何参数化数组无效呢? |
|