Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with data binding
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Problem with data binding
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01375705
Message ID:
01375705
Views:
60
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.
Next
Reply
Map
View

Click here to load this message in the networking platform