xtremeLogic
Programmer
Hi,
I have a page that keeps track of shipping information. I have everything laid out in a small table for one destination. Inside the table I have some server controls (dropdowns labels, linkbuttons, etc.) relevent to one destination. I would like to add multiple shipping destinations (ie additional tables) based on user selection. Similarly, I would also like to have the option of deleting a shipping destination. So in the end, if a user has specified 3 different shipping destinations complete with all selections, I would like to insert each destination into the db in succession. I already have the stored procedure ready to input one destination. I'm guesssing I have to run a loop (length # of desinations) and repeatedly call the stored procedure.
I was thinking of using a DataGrid or DataList but I'm not too clear as to what would work as I do not have anything databound in my table. Any help on this would be greatly appreciated. Thanks.
I have a page that keeps track of shipping information. I have everything laid out in a small table for one destination. Inside the table I have some server controls (dropdowns labels, linkbuttons, etc.) relevent to one destination. I would like to add multiple shipping destinations (ie additional tables) based on user selection. Similarly, I would also like to have the option of deleting a shipping destination. So in the end, if a user has specified 3 different shipping destinations complete with all selections, I would like to insert each destination into the db in succession. I already have the stored procedure ready to input one destination. I'm guesssing I have to run a loop (length # of desinations) and repeatedly call the stored procedure.
I was thinking of using a DataGrid or DataList but I'm not too clear as to what would work as I do not have anything databound in my table. Any help on this would be greatly appreciated. Thanks.