I have a dateTimePicker and a text box
i want to display date in text box select a date from dateTimePicker
Select date from datetime picker
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Mar 22, 2011, 9:50 PM EDT
Soft CornerRank #1,221 · 1.5K reputationPosted Mar 22, 2011, 9:54 PM EDT
Use ValueChanged event of DateTimePicker Control :
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
{
textBox1.Text = dateTimePicker1.Value.ToString();
}