DataRowView.CreateChildView Method (String, Boolean)

.NET Framework (current version)
 

Returns a DataView for the child DataTable with the specified DataRelation name and parent.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public DataView CreateChildView(
	string relationName,
	bool followParent
)

Parameters

relationName
Type: System.String

A string containing the DataRelation name.

followParent
Type: System.Boolean

The parent

Return Value

Type: System.Data.DataView

a DataView for the child DataTable.

.NET Framework
Available since 4.5
Return to top
Show: