General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Good afternoon,
I found that I also needed to copy the changes back into the original dt datatable. Here's the code.
protected override bool HookPreSave(DataTable dt)
{
System.Data.DataTable dtchanged = dt.GetChanges();
foreach (DataRow dr in dtchanged.Rows)
{
dr["EdtDTime"] = DateTime.Now;
}
dt.Merge(dtchanged);
return true;
}
rick
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only