General information
Category:
The Mere Mortals .NET Framework
Title:
Trying the Jumpstart WebService
Environment versions
Network:
Windows 2003 Server
Hi all,
I appreciate some help here. Stuck at "Step 4: Creating the Orders Web Service". See codes below
Public Function GetOrdersByCustomerID(ByVal custID As String) As DataTable
' Instantiate the Orders business object
Dim oOrder As New Orders()
' Get all orders for the specified customer
Return oOrder.GetOrdersByCustomerID(custID)
End Function
At the Return, the whole line is underline in blue. Message is:
Value of type 'Oakleaf.MM.Main.collections.mmBindingList(Of Acme.OrderSystem.Business.OrderEntity)' cannot be converted to 'System.Data.DataTable'
Please advise.
Regards
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only