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

Recommended Answers

All 5 Replies

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

Textbox1.Text = DateTimePicker1.Value

giving error bro

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.