Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the current row
Message
 
To
30/07/2003 03:33:42
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00814578
Message ID:
00814903
Views:
10
>A workaround to this would be, using the CurrencyManager's AddNew() method (If not suggesting creating one of our own, which is better). This will add a new row to the dataview and set the current record to the new position. Now, what happens to the business object? Well simply, you could hook events to whatever dataset's table assigned to the business object. Then call the appropriate operations from there. This will eliminate some problems, when for example, the user sets the current dataset to one of his own and then using a backdoor call to insert a new row to that dataset without using the NewRow method of the business object.
>
>What do you think?

I say go for it, but in the meantime I'll check into this to see if there's something I can do at the Framework level...

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