把数组换成XML文档,然后枚举出来就行了!

解决方案 »

  1.   

    1. if you know the type/size beforehand, don't pass ArrayList as parameter, use string[] instead2. try (didn't test, so it might not work)public bool  InsertReceiveBaseInfo([XmlElement(DataType = "string",Type=typeof(string)]ArrayList arr)
      

  2.   

    what error messages did you get? post it here
      

  3.   

    关于这个问题,楼主看来要饿补一下Web Service的基础了,你要先清楚其原理,和能解决的问题.具体到你的问题上来,数组是不能做WebMethod的参数,至于什么参数可以传递和只传这些参数的优点应该有很多介绍,建议先看看.Net FrameWork SDK.