Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JumpStart 2.1: WinFormsApp - C#, Step 8
Message
 
To
30/04/2006 08:06:29
Ralph Rutschmann
Anwendungsentwicklung
Stuttgart, Germany
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01117878
Message ID:
01118272
Views:
27
Ralph,

>I'm new to C#/.NET and MM and try to follow the Jump Start from the MM.NET DevGuid. All seems to go well till step 8 at Windows Forms Application - C#, where the line 'this.dsOrders = this.oOrder.GetOrdersByCustomerID(this.pckCustomer.Text);' leads to an error message, that it wouldn't be possible to implicitly convert a type 'sytem.data.datatable' to 'system.data.dataset'.
>
>I'm Sorry, I tried it step for step three times with cut&paste from the MM DevGuid, but with no success.

My fault! We changed the business object methods in the Jump Start and I neglected to change this line in the Jump Start for Windows Forms.

You can simply remove the dsOrders class-level variable and the code that stores the value in the variable:
this.oOrder.GetOrdersByCustomerID(this.pckCustomer.Text);
this.btnNew.Enabled = true;
this.btnDelete.Enabled = true;
this.btnCancel.Enabled = true;
this.btnSave.Enabled = true;
this.btnOrderDetailNew.Enabled = true;
I have made this change to the Dev Guide and uploaded a new version.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform