Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with data binding
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problem with data binding
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01375705
Message ID:
01375705
Vues:
54
I have a form in which the controls are bound to an alternate table in the biz object. For example, the biz object is OfficeNote and the table is AssignmentNote. I have a text box which has a BindingSource of "OfficeNote" and a BindingSourceMember of AssignmentNote.CompletedBy. When the user clicks on the button to "Complete" the note, I have a line of code in the click method as follows:
     this.txtCompletedBy.Text = mmAppDesktop.UserMgr.UserID;
When I save the row, the CompletedBy column is not filled in.

I ended up changing this to get a reference to the DataRow and assigning the value to the datarow column but I don't understand why assigning the value to the control's text property didn't work? Did I miss something?

Thanks.
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform