In MyGeneration template for EntitySpaces (see Template: Ajax Auto Complete WebServices using EntitySpaces) I wanted to loop through all columns of the table but exclude those that can not be converted to string(e.g TimeStamp).
It's can be done by calling EntitySpaces esPlugIn methods IsObjectType and IsArrayType
foreach(IColumn col in cols)
{
if(!esPlugIn.IsArrayType(col) && !esPlugIn.IsObjectType(col))
{//exclude fields like TimeStamps
//put your code here
}
}