I made a DataSet.xds file with VS wizard. Select part of tables works properly. Now I want update a record from a table, I used codes below.
private void AuthorsTableAdapter(DataRow changedDataRow)
{
authorsTableAdapter adapter = new authorsTableAdapter();
adapter.Update(changedDataRow);
}
This code can change the record and I can see the changes in for example DataGridView, but when I check the DataBase file or restart the application I realize the record(s) doesn't changed! That Update method just changed records in memory not in DataBase file. Any solution?
Sorry for my English and many thanks for your help.