My control consist of 3 classes. one header, one row, one subitem.

In row-class i have an ID property.

Right now i have an arraylist in the control where i save each row (each instans of row-class).
but if I want to loop thru every row in my webform like this:
control.Row[x].ID

I dont quite get this to work.
I have to alter my class, but how. I think i have to get rid of the arraylist, but what to use instead?