This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the number of columns in the datatable.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Columns.Count")]
public static int ColumnsCount(
	 dataTable
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Columns.Count")> _
Public Shared Function ColumnsCount ( _
	dataTable As  _
) As Integer

Parameters

dataTable
SXMLDataTable
The datatable whose column count is returned.

Return Value

Returns the number of columns in the datatable.

See Also

Advanced