how to find out which data fields were change on winform

Hi,

I have a winform with many fields, I want to find out which data fields where changed once user click on SAVE bottom.

Could some body give me a hand,

Thanks,



Answer this question

how to find out which data fields were change on winform

  • IamHuM

    i guess you would store the values of the existing fields into an array for example, then compare them after words, or perhaps set a boolean flag per field so when the text has been changed (implement the textchanged event), set the boolean flag to true for "changed" then compare after words - why would you want to do this

    if you need to save, just resave everything as is instead of making it a bit more complicated than it has to be, such as going through each field, checking to see which field was changed then save that field alone - you are better to just re-save everything.



  • how to find out which data fields were change on winform