var Gid = ""; var Name = ""; var strGid = []; var strName = []; for (var i = 0; i < rows.length; i++) { Gid = rows[i]["DP001_GID"]; Name = rows[i]["EC101_WRYMC"]; strGid.push(Gid); strName.push(Name); } $.ajax({ url: 'CuiBanSearch.ashx?Method=AcceptCuiban', data: { DP001_GID: strGid, EC101_WRYMC: strName }, dataType: 'json', traditional: true,//数组格式转换 加上这个就可以了 async: false, success: function (result) { } });