Detecting changes user makes in data-bound controls

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top