i have one datetime picker want to show selected date into textbox please help

i have one datetime picker want to show selected date into textbox please help

Textbox1.Text = DateTimePicker1.Value

got solution thanks for help here is solution need to convert into string

textBox1.Text = Convert.ToString (dateTimePicker1.Value);

I've just tested the code and it worked fine for me. What error do you get?

conversion erroe done with me ok thanks for help hope will help u if get chance

Be a part of the DaniWeb community

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