none
Committing changes to a datagridview? RRS feed

  • Question

  • Hello everyone, I am kind of confused on how to commit changes made to a datagrid view in real time. I have entered the following code in the validating event.

     

    this.Validate();
          this.tblOfficersTableAdapter.Update(this.database6DataSet.tblOfficers);
    

    I did not programmatically bind or add my datagridview. I dimply dragged and dropped it into designer on a form. 

    I have a tblOfficersDataAdapter, tblOfficersBindingSource, and a databasedataset on my form

    Saturday, July 9, 2011 6:14 PM

All replies