Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save datetime
Message
 
 
To
02/03/2009 11:11:43
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
01383958
Message ID:
01385005
Views:
38
>Ran the test as you requested. It provides the time of the save not the time the page was opened. The code is in the Item_Updateing event
>
>	Protected Sub FormView1_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewUpdateEventArgs) Handles FormView1.ItemUpdating
>		SqlDataSource2.UpdateParameters("DateCompleted").DefaultValue = Now()
>	End Sub
>
If the code is in the ItemUpdating (not the Page Load), then you're OK with it as is.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform