Try OpenEdge Now
skip to main content
.NET Open Clients
Passing Parameters : ProDataTable class methods : Column-related (buffer-field) methods : SetColumnProType( )
 
SetColumnProType( )
Sets the ABL data type for the specified data column, where proType must correspond to one of the valid ABL-specific class constants found in the Progress.Open4GL.Parameter class (see Table 15). The syntax is:

Syntax

static void SetColumnProType(System.Data.DataTable dt, string colName,
                                 int proType)
Where colName is the name of the column in the DataTable.
static void SetColumnProType(System.Data.DataColumn dc, int proType)
Where dc is the DataColumn.