add button:: checkbox should be enabled only when the item is not stored in db ...if its already stored in db then should be disabled .. for remove button:: Viceversa..i.e if its stored in db then checkbox should be enabled otherwise checkbox should in disabled......... if any more code req..ll post...