views:

596

answers:

1

I have a page when creates a new order of which you can add multiple line items. A line item is a contained user control with 4 input fields. when the user fills in the line items they can click a link button which will add a new line item to the "repeater" its only when they click save order (saving the order header and all line items in one go) does the "repeater" get iterated for its values.

any ideas?

A: 

Hi

Please check

http://forums.asp.net/p/1000760/1318623.aspx#1318623

sona
thanks but I'm not pulling the data from a datatable like in that example when the order and order lines are being completed there is no database entry until the create order button is clicked
monkeylee
Ok i think you can Session then. You hav to first create a table for that.and add new fields as new row to that and then assign it to Repeater control. and on Save Order button click save those values to DB. you can check this link..here we explained about Datagrid..but i think it will be useful for you http://stackoverflow.com/questions/323064/how-to-convert-gridview-to-datatable. let me know if you ned any help
sona