Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Date Without Time!
Message
De
10/02/2003 12:30:23
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00751401
Message ID:
00751492
Vues:
19
>I am trying to display the date from SQL server database into a window form textbox as "dd/MM/yyyy", but it shows the time also.
>even this does not work :
>textbox1.text = format(dteDateandTime, "dd/MM/yyyy")
>
>beacuse I am using Databinding:
>Me.txtRegDate.DataBindings.Add("Text", myDS.Tables("Member"), "RegDate")
>
>Any idea how to avoide this.
>
>Thanks for the help

Ahmad,

You might want to look at the Format and Parse events. Binding.Format

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

Click here to load this message in the networking platform