Export (0) Print
Expand All

DataRowView.DataView Property

Gets the DataView to which this row belongs.

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

Property Value

The DataView to which this row belongs.

Example

[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

[C#] 
private DataView ReturnDataView(DataRowView myRowView){
   return myRowView.DataView;
}

[C++] 
private:
 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.

Requirements

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

Show:
© 2014 Microsoft