Thursday, 20 December 2012

How do I set the value of an InfoPath field through code?

Following the code:-

XPathNavigator nav = MainDataSource.CreateNavigator();
nav.SelectSingleNode("//my:field1", NamespaceManager).SetValue("myValue");

No comments:

Post a Comment