This documentation is archived and is not being maintained.

XmlDataSourceDesigner.XPath Property

Gets or sets an XPath query to apply to the XML data that is contained by the Data property or by the XML file that is indicated by the DataFile property.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in

public string XPath { get; set; }
/** @property */
public String get_XPath ()

/** @property */
public void set_XPath (String value)

public function get XPath () : String

public function set XPath (value : String)

Not applicable.

Property Value

An XPath query.

The Transform property shadows the same property in the associated control, and is intended for internal use only.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0