Make auto generate edit button to true.And handle the event onRowEditing. Place your code in this event to edit.The rows will automatically changes to textboxes in order to make edit your values.Regards