This topic has not yet been rated - Rate this topic

XPathBinder.Select Method

Uses an XPath data-binding expression at run time to return a list of nodes.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Select(Object, String) Uses an XPath data-binding expression at run time to return a list of nodes.
Public method Static member Select(Object, String, IXmlNamespaceResolver) Uses an XPath data-binding expression at run time to return a list of nodes, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.
Top

You can use the overloaded Select method declaratively if you want to simplify the retrieval of a set of nodes using an XPath query. To do so, you must place the <%# and %> tags, which are also used in standard ASP.NET data binding, around the XPath query.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.