how to fill a DateTimePicker

Stimulsoft Reports.NET discussion
Post Reply
miguels
Posts: 27
Joined: Tue Jun 23, 2009 5:05 pm

how to fill a DateTimePicker

Post 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.
Attachments
1615.Prueba de parametros con fechas.mrt
(55.33 KiB) Downloaded 452 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

how to fill a DateTimePicker

Post 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.
miguels
Posts: 27
Joined: Tue Jun 23, 2009 5:05 pm

how to fill a DateTimePicker

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

how to fill a DateTimePicker

Post 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.
Jacob Matthew
Posts: 1
Joined: Wed Feb 01, 2012 1:35 am
Location: Ahmedabad, Gujarat, India

how to fill a DateTimePicker

Post by Jacob Matthew »

Hi,

Try like this

DateTimePicker1.Value = Format(DataReader[0], "dd/MM/yyyy");

Thanks....
Post Reply