Please try the following codes:
public void CTRL5_5_Clicked(object sender, ClickedEventArgs e)
{
// Write your code here.
XPathNavigator root =
this.MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:group1/my:group2",
NamespaceManager);
this.CurrentView.SelectNodes(root);
this.CurrentView.ExecuteAction(ActionType.XCollectionRemove,
"group2_1");
}
---------
InfoJet Service, a product likes InfoPath Forms Services,
http://www.infojetsoft.com
---------------------------------------------------------
> Can someone point me in the right direction to delete rows of a
> repeating Infopath 2007 table in c#? I see it can be done in
> javascript.
>
> Thanks for your time.