Delete Button on Repeating Table InfoPath 2010

This is kind of common request from client to have kind of small delete button or image in every to delete.

I couldn’t find any approach using Rules to delete the rows. One line C# code would do the trick J


Add Button and Click on the “Edit Form Code” in Button Properties.