I've done this before using code behind a button in VB. I added a Remove field to the table I used for my repeating table.
tblTest will be my example table
ID is the primary key that increments by 1 for each row
'table1' will be my data source used for the table using tblTest
'table remove row' will be my data source used to make connection to tblTest
-----------------------------------------------------------------------------------
Dim
Nav As XPathNavigator = Me.DataSources("table1").CreateNavigator()Dim Conn As AdoQueryConnection = Me.DataConnections("table remove row")
Dim rows As XPathNodeIterator = Nav.Select("/dfs:myFields/dfs:dataFields/d:tblTest", NamespaceManager)Dim iCounter As Integer = 1
While rows.MoveNext()
If GetValue("/dfs:myFields/dfs:dataFields/d:tblTest[" & iCounter & "]/@Remove", Nav) = "yes" ThenConn.Command = "DELETE FROM tblTest " & _
"WHERE (ID = '" & GetValue("/dfs:myFields/dfs:dataFields/d:tblTest[" & iCounter & "]/@ID", Nav) & "')"
Conn.Execute()
End If
iCounter += 1
End While
Hope this helps you out!