Wpf
how to bind a datatable to a combobox in wpf ?
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
Ck NitinRank #189 · 12.9K reputationPosted Aug 5, 2013, 12:53 AM EDT
try this
myCombo.ItemsSource = dt.DefaultView;
Thanks
Ruchi H105 reputationPosted Aug 5, 2013, 3:30 AM EDT