newbie command builder question

  • Thread starter Thread starter Marina
  • Start date Start date
M

Marina

SqlDataAdapter1.Update(myDataTable), where 'myDataTable' is the datatable
that you used to create the dataview.
 
I have an app which uses a dataview. You page through the record one at a
time and the text boxes are 'bound' ie their text property is set manually.
A little like an Access form. I am using a dataview so I can use the filter.
I can get the changes in each record to be reflected in the dataview but
can't get the command builder to work so I can update the database.

Dim CommandBuilder As System.Data.SqlClient.SqlCommandBuilder = New
System.Data.SqlClient.SqlCommandBuilder(SqlDataAdapter1)

Now I want to call the update method how do I do that.
 
Back
Top