Our code for the DataGrid1_UpdateCommand is as follows:
OleDbDataAdapter1.Update (DsGrid1, "Info")
'you can see above the dataadapter, the dataset, and table
'next we do the Fill method below
OleDbDataAdapter1.Fill(DsGrid1, "Info")
DataGrid1.DataBind()
If we click the Update button, it's not updating
It simply acts as if the page did a post back, but nothing happens.
In the Page_Load routine, we've got:
If (Not IsPostBack) Then
'DataGrid1.DataBind()
OleDbDataAdapter1.Fill(DsGrid1, "Info")
DataGrid1.DataBind()
OleDbDataAdapter1.Update (DsGrid1, "Info")
'you can see above the dataadapter, the dataset, and table
'next we do the Fill method below
OleDbDataAdapter1.Fill(DsGrid1, "Info")
DataGrid1.DataBind()
If we click the Update button, it's not updating
It simply acts as if the page did a post back, but nothing happens.
In the Page_Load routine, we've got:
If (Not IsPostBack) Then
'DataGrid1.DataBind()
OleDbDataAdapter1.Fill(DsGrid1, "Info")
DataGrid1.DataBind()