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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top