Need Help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am developing an application in C# for the first time. Inside the
application, on one of the pages I am using a data grid control in an
editable mode. In an editable mode some of the fields contain drop
downs.
When some one selects a new value from the drop down, I want to know the
old
and new selected indexes. I need old value to update the record with a
new value. How can I get the old value.

Similarly, how can I store all field values for this edit record in a
struct or a class on Control_EditRow event occurs and use them when a
control_updateRow event (C#) occurs.

Thanks in Advance.
BVR
 
Not sure about what's your asking and why you need to do this.

The best way might be to store the old values into hidden fields or to use
the primary key of the record to get back the old value with a Select query.

S. L.
 
Back
Top