Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when saving!
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01161662
Message ID:
01162794
Views:
20
Jess,

>All is fine now except that when I created new row (using NewRow()), it seems that the pointer is not positioned in the newly created row because it does not get the supposedly values when saving.
>
>How can I move the pointer to the desired business object newly created row? I don't have the any problem if the object is bound to datagrid because there is a NavigateData method in order to move to the row I want but I am not using a datagrid control.

You're not using a GridView, but it sounds like you are binding other user interface controls to the data? If so, check out the MM .NET Dev Guide topic "Synchronizing Data Bound User Interface Controls". The section "Synchronizing Controls with Different Data Sources". It shows you how to work with form's BindingContext manager to set the current row. You can also check out this .NET Help topic:

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/CPref17/html/T_System_Windows_Forms_BindingContext.htm

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

Click here to load this message in the networking platform