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
 
If you are using a DataSet to initially feed the table and you save the
DataSet (persist into cache, session, viewstate) and update the DataSet with
the edits, you will have different row versions (original, etc.). You can
compare the different rowsets to determine what has changed.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top