Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Date Without Time!
Message
From
10/02/2003 12:30:23
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00751401
Message ID:
00751492
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform