title: Can i store serializable array data in DataColumn?
body: <p>I am trying to automatically convert object's properties to DataTable (object is array and  has properties that instantiated from special class which has value type).</p>
  
  <p>The code:</p>
  
  <pre><code>static public DataTable f_GetDataTableFromClassObject(object _objInstance)
  {
      // geri dönecek datatable
      DataTable dataTable = new DataTable();
  
      // nesnenin propertyleri içinde dolanalım ve datatable içine kolon olarak ekleyelim.
      foreach (var p in f_GetProperties(_objInstance))
      {
          if (p.PropertyType.IsArray)
          {
              if (p.PropertyType.BaseType.Attributes.ToString().IndexOf("Serializable")&gt;-1)
              {
                  // Now i want to store to DataColumn this properties which is instantiated DifferentClass[] and Serializable                 
              }
          }
          else
          {
              dataTable.Columns.Add(new DataColumn(p.Name, p.PropertyType));                    
          }
      }
  
      // ve tablomuz.
      return dataTable;
  }
  </code></pre>
  
  <p>What should i do to store this Array in DataColumn?</p>