DataGridColumnAdder ClassCleanCode C# Libraries v1.2.03 API
This class provides support for adding one or more columns to a OnlineDataGridView control on a OnlineForm, and for duplicating a DataGridView.
Inheritance Hierarchy

OnlineSystem Object
  CleanCode.Forms DataGridColumnAdder

Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public class DataGridColumnAdder
Remarks

This class is useful if you want to adorn an existing OnlineDataGridView with additional columns. It is particularly convenient for a form that is refreshed at regular intervals. To use, instantiate an object as in:
columnAdder =
    new DataGridColumnAdder(myDataSet.DataTable1, myDGV, idColumn);
DataTable1TableAdapter.Fill(myDGV.DataTable1);
columnAdder.AddColumnData();
Then whenever you refresh the DataGridView... ... follow that by a refresh of the additional unbound columns.

Since CleanCode 0.9.07.

See Also