Update database using dataset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tracey

    #1

    Update database using dataset


    I have a number of text boxes that are all data bound to a
    data set. I would like the user to be able to make changes
    to these text boxes and then save the changes back to the
    database by clicking on a save button.

    I have put the code OleDbDataAdapte r1.Update(DsTem p1) in
    the btnSave_Click event but it doesn't seem to do
    anything. If I view what is contained in the text property
    of the text boxes it shows the original value not the
    changed value.

    I am quite new to this so any help would be appreciated.

    Thanks.
Working...