2009-05-06 192 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 

回答