Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying the Jumpstart WebService
Message
From
19/07/2007 06:07:27
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Trying the Jumpstart WebService
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01241798
Message ID:
01241798
Views:
71
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
Map
View

Click here to load this message in the networking platform