Results 1 to 5 of 5

Thread: Database update/save problem

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    17

    Database update/save problem

    I have a form that is connected to an sql database, and uses a bindingnavigator to scroll through records, add/delete/save etc. (shows data in text boxes on the form)

    My problem is that when I attempt to change any of the data, I will get the following error when attempting to save: Update requires a valid UpdateCommand when passed DataRow collection with modified rows.

    I've tried messing around with it a bit, like I tried just updating that specific table instead of updateall, and that looked like it worked but it never actually saved when i reopened the program. I don't really understand how to create a "valid updatecommand" so hopefully someone could explain this to me..

    Thanks
    Last edited by Specter93; Aug 24th, 2011 at 01:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width