DataSet.GetChanges() return null C#

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-03-26T16:32:15Z Indexed on 2010/03/26 16:33 UTC
Read the original article Hit count: 103

Filed under:

Hi I need advice. I try this

DataSet ds = new DataSet();
ds.AcceptChanges();

//edit table in ds
ds.Tables[0].Rows.RemoveAt(0);

//get changes
DataSet ds2 = ds.GetChanges();

but ds2 is null, why?

© Stack Overflow or respective owner

Related posts about ADO.NET