ContentByQueryWebPart.Data property
Data to use for the XSL transform.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
Public Property Data As DataTable
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As DataTable
value = instance.Data
instance.Data = value
[WebPartStorageAttribute(Storage.None)]
[BrowsableAttribute(false)]
public DataTable Data { get; set; }
Property value
Type: System.Data.DataTable
Data to use for the XSL transform.
Remarks
Setting this property to Null causes the Web Part to retrieve the data.
Setting this property to a data table causes the Web Part to use the data provided.