<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thanks, I will try this out. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85815#M36762</link>
    <description>Thanks, I will try this out.</description>
    <pubDate>Thu, 06 Oct 2016 12:36:00 GMT</pubDate>
    <dc:creator>utkarsh_chauhan</dc:creator>
    <dc:date>2016-10-06T12:36:00Z</dc:date>
    <item>
      <title>Unable to add column to Data table using code stage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85813#M36760</link>
      <description>Hello Experts,

I want to add a column to existing collection which I am receiving in object's action. To achieve this I have used a Code Stage(C#) which will take collection as input which is internally gets transformed into DataTable. After this I am adding code to insert new DataColumn. However when I compile this code I am receiving error related to DLL. But DLLs and namespace which are required as part of this code is already present.

I have attached a word file describing my code and error. 

Note: I have also tried a work around which also failed which is mentioned int the attachment with screen shots.

Can someone please help me out.

Thanks,
Utkarsh Chauhan</description>
      <pubDate>Wed, 05 Oct 2016 20:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85813#M36760</guid>
      <dc:creator>utkarsh_chauhan</dc:creator>
      <dc:date>2016-10-05T20:28:00Z</dc:date>
    </item>
    <item>
      <title>Try Utility - Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85814#M36761</link>
      <description>Try Utility - Collection Manipulation.Append Field (Text) or Utility - Collection Manipulation.Append Field (Number)</description>
      <pubDate>Wed, 05 Oct 2016 21:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85814#M36761</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2016-10-05T21:30:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, I will try this out.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85815#M36762</link>
      <description>Thanks, I will try this out.</description>
      <pubDate>Thu, 06 Oct 2016 12:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85815#M36762</guid>
      <dc:creator>utkarsh_chauhan</dc:creator>
      <dc:date>2016-10-06T12:36:00Z</dc:date>
    </item>
    <item>
      <title>It worked, however I found a</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85816#M36763</link>
      <description>It worked, however I found a root cause why i was getting error when I was writing code in c#.
We need to add ""System.DLL"" as part of external references while writing code in c#. It solved my problem of the errors i was getting.</description>
      <pubDate>Thu, 06 Oct 2016 16:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-add-column-to-Data-table-using-code-stage/m-p/85816#M36763</guid>
      <dc:creator>utkarsh_chauhan</dc:creator>
      <dc:date>2016-10-06T16:27:00Z</dc:date>
    </item>
  </channel>
</rss>

