G
Guest
I have this problem and I am not able to find clear and good solution.
I have 2 tables, Order and OrderItems with relation 1:N.
I want to have 1 aspx page for editing, which will contain FormView for
Order and GridView for OrderItems. It isn't too important which control I
will use, but my question is:
How can I save all changes together.
I want user to have posibility edit header and details of order together. If
user click on Cancel button, all changes must be rejected. But
ObjectDataSource save changes into DB immediately, when user click on Row
update in GridView. But I don't want it.
Which is a right way to do it?
I think, this is general problem of all programmers who write ASP pages
which doesn't have only one flat editing (only one table record )
Jan
I have 2 tables, Order and OrderItems with relation 1:N.
I want to have 1 aspx page for editing, which will contain FormView for
Order and GridView for OrderItems. It isn't too important which control I
will use, but my question is:
How can I save all changes together.
I want user to have posibility edit header and details of order together. If
user click on Cancel button, all changes must be rejected. But
ObjectDataSource save changes into DB immediately, when user click on Row
update in GridView. But I don't want it.
Which is a right way to do it?
I think, this is general problem of all programmers who write ASP pages
which doesn't have only one flat editing (only one table record )
Jan