改变了行数据,行状态没有改变
row[fields.Flag] = fields.ComfirmStatus;
row[fields.Checkdate] = DateTime.Now;
object o = row[fields.Flag, DataRowVersion.Original];
object c = row[fields.Flag, DataRowVersion.Current];
Console.WriteLine("Original=" + o.ToString());
Console.WriteLine("Current=" + c.ToString());
Console.WriteLine("rowdata=" + row[fields.Flag].ToString());
输出结果是
Original=0
Current=0
rowdata=1
这是什么原因呢?其他datatable都是可以的