Page 1 of 1
how to fill a DateTimePicker
Posted: Wed Feb 01, 2012 1:13 pm
by miguels
Thanks for your previous answer
I need is a period of impreson form of a start date to end date and detail that arises is that does not meet display in the control as the final date and the need ... 31/12/2012 depending on the year, I find no funsion me to become a cadean to date there is only dated a string ...
by chance have a manual on how mandejar objects and their methods .. since they are somewhat different from visual studio.
how to fill a DateTimePicker
Posted: Thu Feb 02, 2012 6:58 am
by HighAley
Hello.
miguels wrote:Thanks for your previous answer
I need is a period of impreson form of a start date to end date and detail that arises is that does not meet display in the control as the final date and the need ... 31/12/2012 depending on the year, I find no funsion me to become a cadean to date there is only dated a string ...
by chance have a manual on how mandejar objects and their methods .. since they are somewhat different from visual studio.
One of the ways is to write next expression in the text box:
Code: Select all
{dtvigencia.Value.ToString()} al {DateTimePickerControl1.Value.ToString()}
Thank you.
how to fill a DateTimePicker
Posted: Thu Feb 02, 2012 3:10 pm
by miguels
ok thanks
but what I need is to see how to put the date of 31/012/2012 DateTimePickerControl1 control and I take the current system date
how to fill a DateTimePicker
Posted: Fri Feb 03, 2012 3:02 am
by HighAley
Hello.
miguels wrote: but what I need is to see how to put the date of 31/012/2012 DateTimePickerControl1 control and I take the current system date
Please, try to set the Today property of the DateTimePickerControl1 to false.
Thank you.
how to fill a DateTimePicker
Posted: Tue Feb 07, 2012 12:59 am
by Jacob Matthew
Hi,
Try like this
DateTimePicker1.Value = Format(DataReader[0], "dd/MM/yyyy");
Thanks....