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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared, True)> _
<WebBrowsableAttribute(False)> _
Public Property DataSourcesString As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.DataSourcesString

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

Property Value

Type: System.String

Remarks

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.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace