<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Checking previous values of properties</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Checking previous values of properties</description>
  <pubDate>Thu, 11 Jun 2026 04:55:15 -700</pubDate>
  <lastBuildDate>Fri, 16 May 2008 10:25:07 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=808</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Checking previous values of properties : You can use the DataRowExtensions...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=808&amp;PID=2966#2966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=34" rel="nofollow">jeffdoolittle</a><br /><strong>Subject:</strong> 808<br /><strong>Posted:</strong> 16-May-2008 at 10:25am<br /><br />You can use the DataRowExtensions like this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Product p;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string curValue = p.ProductName;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string origValue = p.Field&lt;string&gt;(Product.ProductNameEntityColumn.ColumnName, DataRowVersion.Original);<br><br>or you can just use standard ADO.NET like this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Product p;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string curValue = p.ProductName;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string origValue = (string)p&#091;Product.ProductNameEntityColumn.ColumnName, DataRowVersion.Original&#093;;<br><br>Of course, if you use ADO.NET like this, you'll have to perform your own DBNull checking if the column in question allows null values.<br><br>]]>
   </description>
   <pubDate>Fri, 16 May 2008 10:25:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=808&amp;PID=2966#2966</guid>
  </item> 
  <item>
   <title>Checking previous values of properties : When I am about to save an object,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=808&amp;PID=2962#2962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 808<br /><strong>Posted:</strong> 15-May-2008 at 10:30pm<br /><br />When I am about to save an object, can I know if a field was changed and if so what was the previous value?<DIV>&nbsp;</DIV><DIV>ex.&nbsp; DuesRate.</DIV><DIV>&nbsp;</DIV><DIV>I want to know if the user changed the dues rate during the edit process and I want to know what the previous value was to compare it to the new value.&nbsp; I want to do this by looking at the object not intercepting the change event of the field and saving the value at the start of the edit.</DIV><DIV>&nbsp;</DIV><DIV>Bill</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 22:30:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=808&amp;PID=2962#2962</guid>
  </item> 
 </channel>
</rss>