Update button on reapeter items

I have a repeater that is connected to a dataset and I would like the option to update one item that is in the repeater on a button click . How can i do this?

The TodoList example shows how you can use input components in a Repeater item.

Thank u but i need to edit my collection by click a button its little bit diffrent. Do u have an example similar to this?