Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
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;
}
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement