DataTable.DefaultView Property
.NET Framework (current version)
Gets a customized view of the table that may include a filtered view, or a cursor position.
Assembly: System.Data (in System.Data.dll)
The following example sets a property of the DataTable object's DataView through the DefaultView property. The example also shows the binding of a DataGridView control to a DataTable named "Suppliers" that includes a column named "CompanyName."
.NET Framework
Available since 1.1
Available since 1.1
Show: