HOWTO: Know Which Controls Actually Changed Values On FormView

G

Guest

How can you tell which FormView controls have different values from their
initial values when the page was loaded?

If the user clicked the submit button on the EditItemTemplate and no
controls have truly changed values, then we don't have to update the database.
 
C

Cowboy \(Gregory A. Beamer\)

If you have this hooked to a DataSet and run Update() with the adapter(s),
you will not have an update, as nothing has changed. If you have rolled your
own, you need to save the initial values (option 1) or monitor changes
(option 2 - most likely client side script).
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top