﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » ErrorPrivider V.S. BO Check rules</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 19 Sep 2026 00:44:23 GMT</lastBuildDate><ttl>20</ttl><item><title>ErrorPrivider V.S. BO Check rules</title><link>http://forum.strataframe.net/FindPost8899.aspx</link><description>Is it better to use ErrorProvider to check user entry or let the BO check rules to validate the data?&lt;br&gt;
&lt;br&gt;
Secondly, can ErrorProvider work with BO as it's datasource?</description><pubDate>Mon, 21 May 2007 09:35:17 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: ErrorPrivider V.S. BO Check rules</title><link>http://forum.strataframe.net/FindPost8910.aspx</link><description>An error provider can work with the BusinessBindingSource as it's data source... but I'm not sure if it can work with a business object directly as it's data source.&amp;nbsp; The IDataErrorInfo interface used by the error provider is set by the BrokenRules collection.&amp;nbsp; So, when you add a broken rule to your business object, the IDataErrorInfo properties will return the correct value.&amp;nbsp; So, if you want to handle user entry and use the error provider, you'll need to handle the field changed events on the business object and validate the data within the events, adding broken rules if they're not properly set.&amp;nbsp;</description><pubDate>Mon, 21 May 2007 09:35:17 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>