PreviousNext
Help > Easycom .NET > Easycom namespace > EasycomDataSet > EasycomDataSet.GetFieldCount Method
EasycomDataSet.GetFieldCount Method

 Returns the number of fields in the dataset.

 

Class EasycomDataSet

 

Syntax

public Integer EasycomDataSet.GetFieldCount()

 

 

Example of use (C#):

EasycomConnection my_cnx = new EasycomConnection();

my_cnx.ConnectionString = "Server=194.206.160.111;User Id=";

my_cnx.Open();

EasycomFile ecfile = new EasycomFile(my_cnx, filepath, OpenFileAccess.ReadWrite);

int nb = ecfile.GetFieldCount();

 

This function returns the total number of fields in the dataset.

 

See also

EasycomDataSet.GetFieldInformation