Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckRulesHook Best Practices
Message
 
To
27/04/2005 09:26:18
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01008812
Message ID:
01009558
Views:
19
Joe,

>I've noticed various ways to use the CheckRuleHook.
>It seems that one might work better with child objects and the other with parent objects.
>Could someone help indicate what the idea behind each of the following syntaxes is and when whould each be used?

In one case, the business rule object is checking business rules for all rows, and in the other case it's checking the current row. The current row checking is suited for situations where you only allow the edit of a single DataRow at a time. The "all rows" checking is suited for situations where you allow users to change all rows in a DataTable.

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