Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start vb
Message
De
15/03/2005 10:49:30
Larry Anderson
Greenfield Software
London, Royaume Uni
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Jump Start vb
Divers
Thread ID:
00995954
Message ID:
00995954
Vues:
61
Hi All,

It took some tracking down so I thought I'd mention it here. Step 6 "Creating an OrderDetail Business Object" of the Jump Start for v1.3 - "Creating Business Objects VB.Net" seems to have a piece of code missing in that after creating the custom data access class there is no Creator method in the resulting class ie code like the following needs inserting into the class:

Public Sub New()
Me.InitializeComponent()
End Sub

I couldn't see this being automatically created as part of any of the previous steps. Without it the override of the CreateDataAdapter method just returns a null which gives a run time error when saving any order detail records.

Best regards

Larry
Regards

Larry Anderson
Répondre
Fil
Voir

Click here to load this message in the networking platform