The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft