It's difficult to answer this question because i don't really know the larger context. Usually i handle delete checkboxes and updates by iterating my list of objects returned from the screen. As i iterate through each object of the list i check to see if it is checked to be deleted and place it into a delete list. If it is not flagged for a delete i place it into an update list. Once i am finished iterating the list i pass the delete list to a delete function and my update list to an update function. Where you place this functionality in your architecture is a matter of your own judgment.
Brandon On 5/22/05, Sergey Livanov <[EMAIL PROTECTED]> wrote: > > Could you advise as to how to better solve the problem. > There is th table M:M with the following structure > CLASS FK number , > PROPERTY FK number , > QUANTITY number . > > In my application I define PROPERTY & QUANTITY for the CLASS class (with the > help of checkbox ) upon which I need to record the information/results. If I > choose checkbox - the record is to be deleted, if it is not there - it > should be added, if it is there QUANTITY should be updated. > > -- > regards, > Sergey mailto:[EMAIL PROTECTED] > >