Repeater or Datagrid? Which is the best to use?

bonshaw

New member
Joined
Aug 18, 2011
Messages
2
Programming Experience
1-3
I would like to create dynamically, a new row on my webpage for every object in my collection of objects... (these objects represent a select number services running on the local machine)

In this row I would like two buttons (start & stop) and some labels showing the current status of these services

[Start] [Stop] Service:Serv1 Status:Stopped

As I will need to dynamically create buttons (2 per row) and provide functionality behind these buttons to turn on / off the associated service, is it best I use a repeater or datagrid... or some other method entirely.

Thanks
B
 
Either will work. the grid will be more compact but if you don't want that then the repeater will let you lay out the fields/controls in whatever way you want. It really comes down to what sort of layout you want.
 
Back
Top