List view new line for new values
Posted
by Luke
on Stack Overflow
See other posts from Stack Overflow
or by Luke
Published on 2010-04-19T18:47:58Z
Indexed on
2010/04/19
19:03 UTC
Read the original article
Hit count: 249
c#
The following code produces a ListView
with the names of the customers:
private void displayDeliveries()
{
lstDeliveryDetails.Items.Clear();
foreach (Delivery d in mainForm.myDeliveries)
{
lstDeliveryDetails.Items.Add(d.DeliveryName);
}
}
If I add, (d.DeliveryAddress), how can I get it to line up alongside the correct name?
© Stack Overflow or respective owner