我通过 传递一个 javascript 数组Request.QueryString["cityID"].ToString()
,但它向我显示“无效参数”的错误:
blObj.addOfficeOnlyDiffrent(Request.QueryString["cityID"].ToString(),
Request.QueryString["selectTxtOfficeAr"].ToString());
方法声明如下所示:
public string addOfficeOnlyDiffrent(string[] cityID, string selectTxtOfficeAr) { }