Well I tried to return a string into the listbox, but the items doesn't align even.
This is my ToString, the three value is from getting value.
Result on the listbox is
This is my ToString, the three value is from getting value.
public override string ToString()
{
return String.Format("{0,-25} {1,-7} {2,-1:F}", companyName, stock, date);
}
Result on the listbox is
Publix PUB 1/23/2003 Target Store TS 1/23/2003