[Mono-devel-list] ADO.NET and DataRow.AcceptChanges();
Daniel Morgan
danielmorgan at verizon.net
Sun Nov 9 15:22:11 EST 2003
I don't know the answer, but I will guess for you...
Does the adapter have a command object for deleting the row?
-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of
yoros at wanadoo.es
Sent: Sunday, November 09, 2003 2:18 PM
To: mono-devel-list
Subject: [Mono-devel-list] ADO.NET and DataRow.AcceptChanges();
Hello,
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
--
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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list