data binding DataTimePicker Control in vb.net 2005.

  • Thread starter Thread starter h
  • Start date Start date
H

h

Hi,

I am binding datetimepicker control in vb.net 2005, I set following property
for the control.
format -> custom, customformat -> dd/MM/yyy,
Above control runs well if I set my system date (from regional settings) in
same format i.e. dd/MM/yyy but if I set it on another format, the control's
text property doesn't get user value.

Is there any solution.


Hardik Shah
 
Hardik,

The standard mistake made with binding to the datatimepicker is that there
is binded to the text property of the datetimepicker, this has to be the
value property.

I hope this helps,

Cor
 

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

Back
Top