DataSourcesString property
TOC
Collapse the table of content
Expand the table of content

DataFormWebPart.DataSourcesString property

Gets the markup string that is stored in the Web Part table for the inside zone of the DataFormWebPart object.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[RequiresDesignerPermissionAttribute]
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[WebBrowsableAttribute(false)]
public string DataSourcesString { get; set; }

Property value

Type: System.String

The difference between DataSources and DataSourcesString is that DataSourcesString is the markup string that is stored in the Web Part table for the inside zone of the DataFormWebPart object, and DataSources stores the real collection of data source instances. Otherwise the two properties mirror each other.

Show:
© 2016 Microsoft