Link Labels c# - displaying a list of them
- by tom
I am trying to add a list of linked lables to a listview. I amd doing so like this
foreach (String s in values)
{
LinkLabel label = new LinkLabel();
label.Text = s;
txtBox.Controls.Add(label);
}
}
It keeps adding just one item to the listbox even tho there are more. Any ideas?
ps) i can tell there are more items from adding a breakbpoint and using console.writeline when iterating
Thanks