Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSDE DateTime & .Now
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00787336
Message ID:
00787420
Views:
24
>I am filling my ds with a date via
>dsGetDepapplCL.Tables[0].Rows[0]["ap_lastmod"] = DateTime.Now ;
>or
>dsGetDepapplCL.Tables[0].Rows[0]["ap_lastmod"] = DateTime.Now.Date ;
>
>both show in the debugger via a ToString().
>
>Parse bombs in the SaveDataSet(myDS)
>
>Any ideas?


Why not use the back end ?

CREATE TRIGGER lastmod ON dbo.depappl
FOR INSERT, UPDATE
AS
IF COLUMNS_UPDATED ( ) >0

UPDATE dbo.depappl
SET ap_lastmod=getdate()
Previous
Reply
Map
View

Click here to load this message in the networking platform