1
Reply

How to LisBox.ItemsSource to Textblock.Text

Thanattha Bussapak

Thanattha Bussapak

Feb 2 2014 3:23 PM
755
I send  from ListBox to TextBlock. (tLat to tLat1)
ListBox is show 13.765443 ,But TextBlock is show System.Windows.Control.ListBox.


List<string> t_la = new List<string>();
foreach (myList cm in list)
t_la.Add(cm.L_id);
tLat.ItemsSource = t_la;
               
tLat1.Text = tLat.ToString();

Answers (1)