what to use: repeater, table or grid?

Dear colleagues, I am new to .net programming and I have to create an aspx form that
- would have a variable number of rows, a variable number of colums (i know the max number of columns max 15).
- last column will have a button (or link) that should delete the current row upon clicking it
- each row should have controls in the cells, edit box, combo box, anc check boxes
- the user should be able to modify any cell
- the form should have 3 buttons at the bottom: save, discard changes ans add row

Now I've done this

- either on client side using a table tag and putting the info in the cells from the server but since i don't know upfromt how many columns There will be it's hard to have a table
- either on the server side entirely using a <asp:table> and populating it on the fly(also bad because the whole page needs to by repopulated and it's slow)

- I dont know what to use. have no experience with repeaters. can i put controls in the cells if I use a repeater? can I put a button in the last cell if i use a repeater and add a handler to do delete the row?

- I have no experiencr with grids either (not in .net but in standalones exes).

- I am confused to what events should be handled at client and what on the server.

I know how to use hidden fields and the clientID on the server, just have no ideea how to put together this page. I know javascript, vbscript, just don't know which would be most efficient way to do this.

Please help. Any suggestions welcome.

Thank you so much.

Sincerely

apopescu
[1668 byte] By [apopescu] at [2007-11-20 9:17:19]
# 1 Re: what to use: repeater, table or grid?
You can use DatGrid in this scenario. Take a look at these tutorials

http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/webctrl/datagrid/doc_datagrid.aspx
http://www.411asp.net/home/tutorial/specific/web/userinte/webcontr/datagrid
Shuja Ali at 2007-11-10 3:09:05 >
# 2 Re: what to use: repeater, table or grid?
You saved my life Ali. Thanks so much.
apopescu at 2007-11-10 3:10:05 >
# 3 Re: what to use: repeater, table or grid?
You saved my life Ali. Thanks so much.
You are welcome :)
Shuja Ali at 2007-11-10 3:11:04 >