Author: enableDeepak | Posted on: 6/26/2008 10:23:56 PM | Views : 292

My Class

class Finance
{
property amount int;
property id int;
}

My UI has a Repeater (in table format) bind to a List (Of Finance)


Table Structure:
ID | Amount | New Amount

ID - a cell with ID property text
Amount - a cell with existing Amount  value
New Amount - a cell with Empty Text Box



My Business Layer Method
Function SaveData (ByVal data As List(Of Finance))
{
...
}


Question:
I want to send the amounts before change as well along with the newly updated values. If I loop through my UI repeater and create Finance Objects with the new textbox amount, add them to list and pass them to Business function, I would loose existing values.
Where as for audit purpose I need previous values as well.

1. Is there any way with which I can at runtime add "OldValue" valuable to each Finance object I am adding to L ...

Go to the complete details ...