2009-05-06 119 views
0

我想要亚音速运行webservice中的工作 我不知道如何返回数据。当它返回任何值而不是值时,我只在结果中得到Object这个词。我错过了什么?亚音速与webservice

<WebMethod(Description:="Method to retrieveCptCode subsonic List")> _ 
Public Function GetSubCptCodes() As CPTCodeCollection 

    Dim coll As CPTCodeCollection = New CPTCodeCollection() 
    Dim qry As Query = New Query(CPTCode.Schema) 
    coll.LoadAndCloseReader(qry.ExecuteReader()) 
    Return coll 

End Function 

回答