Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save datetime
Message
 
 
À
25/02/2009 11:34:21
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01383958
Message ID:
01384464
Vues:
34
>>BTW, if you want to do this on the database level, see
>>
>>Last Updated User Thread #988451 (thanks Greg for recent reminder)
>
>Thanks Naomi. I figured it out.
>
>SqlDataSource2.UpdateParameters("DateCompleted").DefaultValue = Now()
>
I just thought of something, not 100% sure I'm right, but want you to test.

Open your page. Check the current time. Sit for some time (say, 5 minutes) without doing anything. Then update your data and press Update button. What date would you have in your DateCompleted field? Would it be the current time or the time you opened your page?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform