textBox binding with a date field problem

  • Thread starter Thread starter touf
  • Start date Start date
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
 
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)
 
Back
Top