Export (0) Print
Expand All

DataView.ToTable Method

Creates and returns a new DataTable based on rows in an existing DataView.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToTable() Creates and returns a new DataTable based on rows in an existing DataView.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToTable(String) Creates and returns a new DataTable based on rows in an existing DataView.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToTable(Boolean, String[]) Creates and returns a new DataTable based on rows in an existing DataView.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToTable(String, Boolean, String[]) Creates and returns a new DataTable based on rows in an existing DataView.
Top

The returned DataTable maintains the values of the following properties from the source DataTable: Namespace, Prefix, CultureInfo, and CaseSensitive. Each column in the resulting DataTable contains an identical copy of all the corresponding properties in the underlying DataTable.

The DataRow instances in the returned DataTable will contain values that are consistent with CLR semantics. That is, for all data types besides user-defined types, the corresponding column values are copied by value. For user-defined data types, the column data is copied by reference.

Community Additions

ADD
Show:
© 2014 Microsoft