SHARE
TWEET

Untitled

a guest Jan 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #setNodeValue("/my:myFields/my:Form/my:LeaveType, "Annual");
  2. #setNodeValue(XPath, ValueString);
  3. public void setNodeValue(string path, string value)
  4.     {
  5.                 XPathNavigator root, infopathNode;
  6.                 root = this.MainDataSource.CreateNavigator();
  7.                 infopathNode = null;
  8.                 infopathNode = root.SelectSingleNode(path, this.NamespaceManager);
  9.                 infopathNode.SetValue(value);
  10.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top