DataViewWebPart.DataQuery Property

Gets or sets the XML that specifies which data retrieval service adapter to use for data retrieval and the query that is passed to the adapter.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property DataQuery As String
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As String

value = instance.DataQuery

instance.DataQuery = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public string DataQuery { get; set; }

Property Value

Type: System.String
String that contains XML that specifies the data retrieval service adapter.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace