Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying the Jumpstart WebService
Message
De
19/07/2007 06:07:27
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Trying the Jumpstart WebService
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01241798
Message ID:
01241798
Vues:
72
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform