Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default DateTime values in Typed Dataset
Message
From
07/02/2006 12:42:54
 
 
To
06/02/2006 13:02:28
Rick Forbes
Brotherhood of Maintenance of Way Employ
Royal Oak, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01094021
Message ID:
01094327
Views:
8
>Does anyone know the correct syntax to place a default date value (System.DateTime.Today) in a typed dataset's DefaultValue property??<

I think it's something that belongs in the DataSet itself, so I would advocate hooking into the ColumnChanged or RowChanged event handler in your Typed DataSet. I've used RowChanged events in my sub-classed Typed DataSets for things other than defaults (haven't used the ColumnChanged event, but I imagine it might be similar).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform