Updating DataTable bound to a DataGridView

  • Thread starter Thread starter Carlos Cruz
  • Start date Start date
C

Carlos Cruz

Hi,

I've a DataGridView with Datasourse = Datatable.
The problem is that I can't get my last record updated at the database
unless I change the row where I'm editing...
Can anyone explain me why and how can I manage to get rid of this?

By the way, Im' updating with DataAdapter.Update(DataTable)

Thanks in advance
CC
 
Cor, I'm having a similar problem. Tried dropping a bindingsource on my
form & used it as the datasource for my datagridview. Assigned my dataset as
datasource for the bindingsource. However, this seems to have no effect --
no rows are displayed (if I use the dataset as the datasource for the grid,
I do have rows). What is the magic step I'm leaving out?

Jeremy
 
Back
Top