Exemplo n.º 1
0
 private void GetUnits()
 {
     Staff staff = new Staff();
     XmlNode node = staff.GetUnits("<Where><Eq><FieldRef Name='Tip' LookupId='TRUE'/><Value Type='Lookup'>1</Value></Eq></Where><OrderBy><FieldRef Name='Title' /></OrderBy>");
     DataSources["Vars"].CreateNavigator().SelectSingleNode("/Root/Units").InnerXml = node.InnerXml;
 }