Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rebinding Windows form controls
Message
From
16/05/2008 09:43:43
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316469
Message ID:
01317612
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform