General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Good afternoon,
It's really strange...
whenever I make a change to a field in the table, the change is sent to the database however the update to the edtdtime field (as done in my hookPreSave method) is not happening.
any thoughts on the below code would be appreciated.
thanks
rick
protected override bool HookPreSave(DataTable dt)
{
foreach (DataRow dr in dt.GetChanges().Rows)
{
dr["edtdtime"] = DateTime.Now;
}
return true;
}
Previous
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