I have a DataGridView that was created using the wizard. I made a change to one of the column's data and I want to save the changes back to the database. Here's the simple code:
I don't get any erros but the 'Status' is not saved in the database...
VB.NET:
Me.WHVMastersUniverseTableAdapter.MastersOnHold(Me.PreManfDataSet.WHVMastersUniverse)
dgvMasters.AutoResizeColumns()
For iIndex = 0 To dgvMasters.RowCount - 2
dgvMasters.Rows(iIndex).Cells("Status").Value = "On-Hold"
Next iIndex
Me.WHVMastersUniverseTableAdapter.Update(Me.PreManfDataSet.WHVMastersUniverse)
I don't get any erros but the 'Status' is not saved in the database...