Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working through the Quick Starts since upgrade
Message
De
26/04/2007 15:53:01
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Working through the Quick Starts since upgrade
Divers
Thread ID:
01220247
Message ID:
01220247
Vues:
72
I decided since the final version of 2.4 was out and I downloaded it and installed I'd just take some time and work through the quick starts to see the differences and to check my installation.

Doing the webservice example, I ran into the following:

[WebMethod(Description = "Returns orders for the specified customer")]
public DataTable GetOrdersByCustomerID(string custID)
{
// Instantiate the Orders business object
Orders oOrder = new Orders();

// Get all orders for the specified customer
return oOrder.GetOrdersByCustomerID(custID);
}

I get the following error:

Cannot implicitly convert type 'OakLeaf.MM.Main.Collections.mmBindingList' to 'System.Data.DataTable'

So how is this done, do you use something else besides a DataTable or do you convert the mmBindingList to a DataTable, and how? Thanks in advance gang!

Mick
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform