The number of columns in the DataWindow object.
DataWindows
DataWindow .NET dot notation:
dw_control.ColumnCount
Describe argument:
"DataWindow.Column.Count"
The value is determined by the number of columns you select in the SQL Select painter, whether or not they are displayed.
In DataWindow .NET, you can use the ColumnCount property on DataWindowControl, WebDataWindowControl, DataStore, and DataWindowChild to get the number of columns.
[C#} short ColCount;
ColCount = dw1.ColumnCount;
[Visual Basic] ls_colcount = dw1.Describe("DataWindow.Column.Count")