Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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:
© 2015 Microsoft