[Mono-devel-list] ADO.NET and DataRow.AcceptChanges();

yoros at wanadoo.es yoros at wanadoo.es
Sun Nov 9 14:17:50 EST 2003


I need help in some aspects of DataRow / DataTable handling.

In the .NET Framework Documentation I saw that DataRow.AcceptChanges
makes persistent all changes in DataRow (RowState = Unchanged) but when
DataAdapter.Update is called these rows are not "updated" to the
database. For example, if I call "row.Delete(); row.AcceptChanges();"
and then call adapter.Update... the row is not deleted in the database.

I hope anybody can help me... Thank you,


Pedro Martínez Juliá
\  yoros at terra.es
)|    yoros at wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC

More information about the Mono-devel-list mailing list