Link to home
Start Free TrialLog in
Avatar of mathieu_cupryk
mathieu_cuprykFlag for Canada

asked on

Looking for a C# datepicker. Urgent.

I am look for a datepicker where I can get a value from a database a initialize it with the value at load time? Can someone help me on this one.
Avatar of tomvergote
tomvergote
Flag of United States of America image

are you talking about webforms or winforms?
Avatar of Razzie_
Razzie_

There is a built in DateTimePicker. Just drag it on your form.

You can set a date using:

DateTime dt = new DateTime(2002, 3, 11);
this.myDateTimePicker.Value = dt;

You'd just have to obtain the DateTime parameters from your database.

HTH,

Razzie
visual studio.net includes a rudimentary one for both web and windows.
Avatar of mathieu_cupryk

ASKER

Where is it I do not see it in the tools.
ASKER CERTIFIED SOLUTION
Avatar of Razzie_
Razzie_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial