Loading...

Tuesday, July 12, 2011

Comparing the old value and new value in Itemupdating Event

In Itemupdating event Of SPItemeventReceiver class

properties.ListItem["column name"]  gives the old value (b4 updating)
properties.AfterProperties["column_0x0200_name"]  gives the new value (after updating)

where column_0x0200_name is the internal name of column.

No comments: