S
Sjoukje Zaal
Hi,
I'm creating a InfoPath form with Visual Studio. I wan't to remove the first
blank line from a repeatingtable and from several DropDownList. The
datasources for this controls are xml files wich retrieve data from
SharePoint.
I've tried to do this with the following code but unfortuanly this will
disable the entire control:
// Retrieve the first row of the repeating table
XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNavigator itemNav = domNav.SelectSingleNode(
"/my:myFields/my:group1/my:group2[1]",
NamespaceManager);
// Delete the row
if (itemNav != null)
itemNav.DeleteSelf();
Any suggestions Anyone?
Regards,
Sjoukje
I'm creating a InfoPath form with Visual Studio. I wan't to remove the first
blank line from a repeatingtable and from several DropDownList. The
datasources for this controls are xml files wich retrieve data from
SharePoint.
I've tried to do this with the following code but unfortuanly this will
disable the entire control:
// Retrieve the first row of the repeating table
XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNavigator itemNav = domNav.SelectSingleNode(
"/my:myFields/my:group1/my:group2[1]",
NamespaceManager);
// Delete the row
if (itemNav != null)
itemNav.DeleteSelf();
Any suggestions Anyone?
Regards,
Sjoukje