Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the Format property of mmTextBox
Message
De
31/01/2006 12:34:35
 
 
À
27/01/2006 13:57:45
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows NT
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01091044
Message ID:
01091951
Vues:
11
>I am using the mmTextBox control on a mmBusinessForm and I cannot get the Format property to work. I would like to format a Date type field as short date so I entered a “d” in the format property, but it still shows the date and time when running the form. How do I make a date with a time show as only a short date?
>
>In Appendix D, there is a list of the different commands that can be used in the Format property. This looks like the same list as found in .NET, but I am not sure. Anyway my question is, if you use the format command "d", how does it know whether you want a decimal format or a short date format? Why is there overlap?
>
>Dave C.

Try {0:d}
David "Doc" Herbert
Source Consulting Inc.
email: dave@2sci.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform