FormView doesn't store any edits

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've built this formview control, and it has the command buttons that came
with it by default. I've got my SQL connection set up, and everything
appears to work, but when I go into Edit mode, I make changes, click the
Update button, and then I'm taken back to the ReadOnly mode, but none of my
changes have been made.

Am I missing something obvious here? What else do I need to do to commit
the changes to the database and see the changes online?

Thanks in advance. I got no sleep at all last night trying to figure this
out, and I'm at wits end. What a noob!
 
Hey Scott,

Have you been able to trace whether your Update statements are working?

Perhaps if you post some of the code we can see what's going on?

Ken
Microsoft MVP [ASP.NET]
 
In your Item_Updated event method, try this:

FormView1.DataBind()
 

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

Back
Top