this is what I'm doing :
SqlDataAdapter dataAdapter = new SqlDataAdapter("SELECT * FROM Customer", (SqlConnection)connection);
DataSet myDataset = new DataSet();
dataAdapter.Fill(myDataset);
// changes to the database are made by something else
...
// trying to restore the data :
if (myDataset.HasChanges())
{
myDataset.AcceptChanges();
}
But myDataset.HasChanges() always return false.
Of course, because changes are not made within this dataset.
How to tell him to force to update ?
The same thing if I use :
dataAdapter.Update(myDataset);
thanks in advance for any help