Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date time field
Message
De
15/11/2002 11:04:13
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00723213
Message ID:
00723242
Vues:
8
Hey Cathi,

It worked, thanks for the help. Is there any documentation for the formatting?

Jim

>Hi Jim,
>
>In the databinding of the textbox, add the formating of "{0:d}" like in the following:
>
>
>Text='< % ERROR: # DataBinder.Eval(MyDataSet, "Tables[Employees].DefaultView.[0].HireDate", "{0:d}")  % >'
>
>
>>All,
>>
>> I have bunch of datetime fields on various webforms that are displayed in textboxes. I want to only display the date portion. How do I do this with the textboxes being databound?
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform