PDA

View Full Version : e.NewValues["vDesignationID"] problem?



sadeque
Feb 09, 2010, 3:27 AM
Hi,

See the below code.



protected void Store1_BeforeRecordUpdated(object sender, BeforeRecordUpdatedEventArgs e)
{
object DesignationID = e.NewValues["vDesignationID"];
}



When i am using this code to get the unique id (vDesignationID), its returning null values. I don't know why its hapening.
Same code works at Store1_BeforeRecordInserted event.

Please Help.

sadeque
Feb 09, 2010, 3:45 AM
I got where i did wrong.

fpw2377
Feb 09, 2010, 10:23 AM
Hi Sadeque,

If you can, please share the answer to your problem in case anyone else in the future has the same problem and is searching for the answer.

Thanks,

Frank