Web Form : Require table / gridview / details view / repeater view assistance...
Posted on 2006-05-16
I have a web form which inserts data into an SQL Server 2005 database using a stored procedure. This seems to be working fine, but i now need to add another function to it.
I have some fields which need to be filled in...
Work product | Issue From | Issue To | Verification Method | Checked By
My problem is that there might be one work product, or there might be 50.
I have investigated using datasets, datatables, grid views and detailsviews to try and achieve what I'm after and just cant seem to get any of them to function as i need.
I need the user to fill out these 5 fields and click add (as seen in a detailsview, having delete and edit would be a bonus too), the contents then get stored in a dataset or something, then once the rest of the form is complete the whole dataset will get passed into the stored procedure and dealt with by the server.
Basically I'm stumped on how to achieve this... somehow i need to bind a empty dataset to the control which will allow me to insert/edit and delete once it has contents... all happening without touching my database.
Please can someone assist me with this task, I'm hoping it's a lot simpler than I'm making it.