ListBox is show 13.765443 ,But TextBlock is show System.Windows.Control.ListBox.
List
foreach (myList cm in list)
t_la.Add(cm.L_id);
tLat.ItemsSource = t_la;
tLat1.Text = tLat.ToString();
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
VulpesRank #55 · 29.2K reputationPosted Feb 2, 2014, 10:37 AM EST
tLat1.Text = tLat.Items[0].ToString();