Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataView Property

DataRowView.DataView Property

Gets the DataView to which this row belongs.

[Visual Basic]
Public ReadOnly Property DataView As DataView
public DataView DataView {get;}
public: __property DataView* get_DataView();
public function get DataView() : DataView;

Property Value

The DataView to which this row belongs.


[Visual Basic, C#, C++] The following example returns the DataView of the specified DataRowView.

[Visual Basic] 
Private Function ReturnDataView(myRowView As DataRowView) As DataView
    Return myRowView.DataView
End Function

private DataView ReturnDataView(DataRowView myRowView){
   return myRowView.DataView;

 DataView* ReturnDataView(DataRowView* myRowView){
    return myRowView->DataView;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataRowView Class | DataRowView Members | System.Data Namespace

© 2015 Microsoft