hi
in my application i want the user to select only time from the datepicker
i don't know how to display only time in datetime picker if any one have any idea
give some code sample

DateTimePicker dateTimePicker = new DateTimePicker
{
    Format = DateTimePickerFormat.Time,
    ShowUpDown = true // Set to false if you don't want the up and down arrows to select the time
};
commented: Definitly the way to do it. +15

ok thanks for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.