关于asmx webservice中的datalist [英] about datalist in asmx webservice
本文介绍了关于asmx webservice中的datalist的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以在asmx webservics上使用返回类型datalist ???
can we use return type datalist on asmx webservics???
推荐答案
WebMethod - 作为VS词中任何基于Web的服务的主要构建块,可以返回任何可序列化的复杂类型...
DataList不可序列化,因此不能由WebMethod返回。
WebMethod - as the main building block of any web based service in the VS word, can return any complex type that serializable...
DataList is not serializable, so it can not be a returned by WebMethod.
这篇关于关于asmx webservice中的datalist的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文