Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default DateTime values in Typed Dataset
Message
De
07/02/2006 12:42:54
 
 
À
06/02/2006 13:02:28
Rick Forbes
Brotherhood of Maintenance of Way Employ
Royal Oak, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01094021
Message ID:
01094327
Vues:
7
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform