Share via


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)

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