In the code below I get colType which is a code number for the type. But how would I convert that number into the actual type? Thx!!
colType
for (int j = 0;
It's even simpler:
Type type = Type.GetType("System." + colType);
If you want to convert a value to that type you can use the typecode directly
Convert.ChangeType(value, colType);