What control to use for dynamic display of tabular data?

Hi,

Ive come from the HTML world where I can do a <table><tr><td>...</td></tr></table> for each table of data. This table can be anywhere from 1 to an unlimited amount of rows. I want to place a control on a form that will grow or shrink based on the amount of data rows. Should I use a tablelayoutpanel like I can do in HTML or a datagrid?

Basically, i want the "table" to grow based on the number of rows without ever displaying a scroll bar on the control.

Any ideas?

Thanks

[531 byte] By [Dhardy123] at [2007-12-22]
# 1

Hi

Basically DataGrid is a server control which rendar your data in HTML.... table. you can also user Repeater , ListView web control for displying tabular data.

If you are new then yu have to use Repeater control because it is simple and as well easy enough.

AkbarKhan at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2
thanks but is the repeater for asp code? I would like the table be an actual windows application rather than an asp program.

TIA

Dhardy123 at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...