title: How to convert a TypeCode to an actual type?
body: <p>In the code below I get <code>colType</code> which is a code number for the type. But how would I convert that number into the actual type? Thx!!</p>
  
  <pre><code>for (int j = 0; j &lt; dvColumns.Count; j++)
  {
      // Get the name of the column.
      drvCols = dvColumns[j];
      colName = drvCols.Row.ItemArray[3].ToString();
  
      // Get columns data type code and save it off.
      colType = Convert.ToInt32(drvCols.Row.ItemArray[11]);
  }
  </code></pre>