DataViewManager.CreateDataView(DataTable) Method

Definition

Creates a DataView for the specified DataTable.

public:
 System::Data::DataView ^ CreateDataView(System::Data::DataTable ^ table);
public System.Data.DataView CreateDataView (System.Data.DataTable table);
member this.CreateDataView : System.Data.DataTable -> System.Data.DataView
Public Function CreateDataView (table As DataTable) As DataView

Parameters

table
DataTable

The name of the DataTable to use in the DataView.

Returns

A DataView object.

Applies to

See also