Visual C#.Net Tutorial

Define Visual C#.Net

C# Label Control

C# TextBox Control

C# Button Control

C# RadioButton Control

C# CheckBox Control

C# CheckListBox

C# ListBox Control

C# ComboBox Control

C# LinkLabel Control

C# DateTime DataType

C# DateTimePicker

C# NumericUpDown

C# RandomNumber

C# PictureBox

C# ProgressBar

C# Timer Control

C# ToolTip

C# TabControl

C# RichTextBox

C# MessageBox

C# Menu Control

C# Toolbars

C# Dialogs Box

DateTime Picker in C#.Net

The control appears by default, as a combo box with a calendar icon at the right part. The most important property of the DateTimePicker is the Value property, which holds the selected date and time.

Q11 On Button Clicking display selected date in label from datetimepicker control
DateTime Picker
label1.Text = "Selected Date Time is : "+dateTimePicker1.Value.ToString();