Hi,
I am binding the Datagrid by
now when i make any changes in the Datagrid how do i make the changes refect in the database..i..e how do i update the databaseCode:DataGrid1.DataSource = ds
I know that I can update the database with a single record by this
This is done only if i know that the record in row 1 and Column Authors has to be changed..Code:ds.Tables("Books").Rows(1).Item("Author") = txt1.Text da.Update(ds, "books")
where da is the data adapter and ds is the dataset
Please advice...




If an answer to your question has been helpful, then please, Rate it!
Reply With Quote