Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rebinding Windows form controls
Message
De
16/05/2008 09:43:43
 
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:
01317612
Vues:
10
Kevin,

I did that before even posting the error.

No matter where I put the NewRow() method (before or after the InitializeCommponents() ), the error comes up until I precede it with a method that fill the object with data.

So I thought it is because the biz object is not instantiated until I load some data, then I wondered why I should have to do that when I am just inserting new rows and not browsing the preexistent rows. I expected the NewRow method to do the instantiation like it does on web forms.

But If you reread my first post you will notice that in fact the main issue was that I had problems synchronizing the object with the form controls once the NewRow was created and the object hydrated with data. I can’t do that and my form objects keep showing the first row of the table.


Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform