i have a form with controls that show productinformation.
now i have 10 textboxes named tbxPrice1 -> tbxPrice10 .
in my artikecleobject exists a property list<articleprice> named articlepricelist that could have 0 till 10 elements.
now i want to fill my 10 textboxes in a loop against my articlepricelist property.
If the articlepricelist contains 3 elements, the first 3 textboxes tbxPrice1,tbxPrice2 and tbxPrice3 should be filled.
If the articlepricelist is empty, no textbox should be filled.
Has anybody an idea, how to do this ?