Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rebinding Windows form controls
Message
 
À
12/05/2008 14:48:15
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01316469
Message ID:
01316536
Vues:
13
Willy,

>I have a windows Form that I call to insert new records in Table. I expected the following code in the form constructor to do the work:
>
> public VehicleNewForm()
> {
> this.oVehicle = (vehicle)this.RegisterBizObj(new vehicle());
> InitializeComponent();
> this.oVehicle.NewRow();
> }
>
>But it doesn’t.
>
>First of all I get the typical error:
>“Object reference not set to an instance of an object”

Before going further, can you send a copy of the full stack trace so I can see what's going on?

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform