thanks for the heads up on DataRowVersion.
Is there a bug in .NET 2003 & DataRowVersion? Actual code:
DataRowVersion shows same values in all 4 types of data. I am changing only
1 field's value and I FAIL to detect the change. Code below:
foreach(DataColumn c in ds.Tables[0].Columns)
{
lcDV = r[c, DataRowVersion.Proposed].ToString() ; // debug look see
lcPV = r[c, DataRowVersion.Current].ToString(); // debug look see
if (!r[c,
DataRowVersion.Original].Equals(r[c, DataRowVersion.Current]))
I have a single change in the 5th item(column) of this row. I have changed Proposed, Orig, and tried Default. No CHANGE is noted?
__Stephen
>Check out the DataSet GetChanges method that returns a list of rows that have changed in a DataSet. You can see the current value with DataRowVersion.Current and original value with DataRowVersion.Original (kind of like curval() and oldval()).
>
>>So is there any way to verify that a ds element has changed from x to y before you hit the .SaveDataSet(dsGetDepapplCL); ? C# is code behind.
>>