Another handy thing to know String xpath = "sum(/ns1:Invoice/ns1:InvoiceDetail/ns1:Lines/ns1:Line/ns1:AmountMatched)"; int amountMatched = Int32.Parse(this.MainDataSource.CreateNavigator().Evaluate(xpath, this.NamespaceManager).ToString); The above code
Read More...