Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in Step 6 - Enhancing the Orders Business Object
Message
 
À
15/06/2006 19:55:44
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01129419
Message ID:
01129435
Vues:
10
Tony,

> Private Sub pckCustomer_ItemSelected(ByVal sender As System.Object, ByVal e As OakLeaf.MM.Main.Windows.Forms.mmPickerItemSelectedEventArgs) Handles pckCustomer.ItemSelected
> Me.dsOrders = Me.oOrder.GetOrdersByCustomerID(Me.pckCustomer.Text)
> Me.btnNew.Enabled = True
> Me.btnDelete.Enabled = True
> Me.btnCancel.Enabled = True
> Me.btnSave.Enabled = True
> Me.btnOrderDetailNew.Enabled = True
> End Sub

This was a mistake in an older version of the MM .NET Dev Guide. Just change the first line of this method to:
Me.oOrder.GetOrdersByCustomerID(Me.pckCustomer.Text)
And you can remove the dsOrders variable from the form. Sorry for any confusion!

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform