Hi,
How can I get selected value of ListBox into textbox.
Thanks, in advance
How to get value from ListBox
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
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Sep 11, 2011, 8:45 PM EDT
This Thread will help you...Click
Priya LingeRank #785 · 2.9K reputationPosted Sep 11, 2011, 8:55 PM EDT
You can selected value of listbox in textbox as following way,
ListBoxItem item = (ListBoxItem)listBox1.SelectedItem;
textBox1.Text = item.Content.ToString();
Hope this will help you.
Thanks.