protected override void Execute(CodeActivityContext context) { try { table = InputTable.Get(context); localRowList = RowCollection.Get(context); if (table != null && localRowList != null && localRowList.Count > 0) { for (int introw = 0; introw < localRowList.Count; introw++) { table.Rows.Add(localRowList[introw].ItemArray); } } Result.Set(context, table); } catch (Exception ex) { throw ex; } }