textBox binding with a date field problem

T

touf

Hi,
I'va a textBox boundto a dateTime field. how can I display the DATE only
(without hour-min..)
I like this to be automatically, with option to modify.
Thanks for your help
 
T

Tim Van Wassenhove

touf schreef:
Hi,
I'va a textBox boundto a dateTime field. how can I display the DATE only
(without hour-min..)
I like this to be automatically, with option to modify.

You could use an overload of TextBox.DataBindings.Add method to add the
bnding... (passing a boolean true for formatting enabled argument and
"dd/MM/yyyy" as formatstring)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top