Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Add a New Row
Message
 
To
16/09/2005 08:46:51
Patty Solomon
Central Susquehanna Intermediate Unit
Milton, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01049588
Message ID:
01050786
Views:
18
Patty,

>The biz object is now registered once. The new row is displayed in the form, but when the Save button is pressed, the data that has been entered never makes it to the dataset for saving. If I walk thru the HookPreSave code, the datarow contains the original default values that were set when the row was added. This implies a breakdown with binding, right?
>
>Any ideas on where I should look next?

When you say the new row is displayed in the form, is it displayed in a DataGrid or in a set of user interface controls such as text boxes, etc? If the new row is displayed in the form, that means it has been data bound. There is automatic two-way data binding in Windows Forms so the values entered in the UI should automatically be bound back to the DataRow...

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform