Gets or sets the DataTable to which the settings apply.
[Visual Basic] Public Property Table As DataTable [C#] public DataTable Table {get; set;} [C++] public: __property DataTable* get_Table(); public: __property void set_Table(DataTable*); [JScript] public function get Table() : DataTable; public function set Table(DataTable);
A DataTable.
The following example uses the DataTable returned by the Table property and prints all values in the table.
[Visual Basic]
Private Sub PrintDataViewTableValues(dv As DataView) Dim t As DataTable Dim c As DataColumn Dim r As DataRow t = dv.Table For Each r In t.Rows For Each c In t.Columns Console.WriteLine(c.ColumnName, r(c)) Next c Next r End Sub
TableSetting Class | TableSetting Members | System.Data Namespace | Expression | RowStateFilter | Sort | TableSetting