cancel
Showing results for 
Search instead for 
Did you mean: 

Change Collection Data Type at Runtime

SachinBais
Level 4
Hello All, need help to change collection data type at run time.   i have a collection with few columns and one columns data type is number. i want to change it to text.                        is it possible at run time to change the data type please suggest. i don't want to use loop since its huge collection.
2 REPLIES 2

John__Carter
Staff
Staff
You'll need a code stage with the collection as input. In the code the collection will be represented as a .Net datatable object. After manipulating the datatable, output it from the code stage. Note if the input collection has predefined fields it cannot be used to receive the code stage output, you must use a different collection. However if the input collection is dynamic (ie no predefined fields) then it can be used to receive the output.

SachinBais
Level 4
Thanks @ John_Carter