Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working through the Quick Starts since upgrade
Message
From
26/04/2007 15:53:01
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Working through the Quick Starts since upgrade
Miscellaneous
Thread ID:
01220247
Message ID:
01220247
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform