Detecting changes user makes in data-bound controls

  • Thread starter Thread starter Uri Dor
  • Start date Start date
U

Uri Dor

Hi,
I'm using a Textbox bound to a dataview and the TextChanged event to
detect when the user has changed it (so I can know to ask "do you want
to save changes?" before moving to another record).
The thing is that I can't seem to know whether the change was caused by
the user and when it was caused by my code - by filling the Dataset,
moving the Dataview's cursor, etc.
Is there some way to find this out? Currently I use some flag which I
turn on and off around code which changes the Dataset/Dataview, but is
there a better way?

thx
Uri
 
Back
Top