Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rebinding Windows form controls
Message
 
À
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:
01318532
Vues:
11
Willy,

>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.

I was unable to replicate this error on my machine. Can you zip up your application and send it to me so I can have a look first hand? Also, I would need you to detach your database, and send it to me.

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