Yes a grid can be used for that. In the meantime I thought of using HTML as a better alternative. I don't have time now, but I think I will post a sample later today.
>Hi Cetin,
>
>How can the grid be used for this?
>
>My idea is, say we have 20 students, and say if we I use the X sign to represent a commandbutton, I would like it to be show this way:
>
>X X X X X
>X X X X X
>X X X X X
>X X X X X
>
>each X will be a commandbutton to represent one student.
>
>Thanks
>
>
>>>Hi All,
>>>
>>>Anybody ever did a class that creates command buttons to represent records in a table? Am planning to use this type of UI to show the students in a particular section -- or maybe there is a much better idea, I will be happier for that.
>>>
>>>Thanks once again.
>>
>>You can use a grid.