Hi,
Im trying to use a code stage to loop through a collection i have that contains one column. With each iteration the value in each row in will be updated.
So far i have an input collection in my code stage(input_collection) . This collection contains one column with 1000's of rows. These items are dates and need to be manipulated in some way with each loop. So far ive something like this:
//input_collection is input.
//Loop is set up to loop though each item in input_collection.
for (int j = 0; j < input_collection.Rows.Count; j++)
{
collection.Rows[j][0] = "New Date Example";
}
What i expected this code to do was loop through the entire collection and update each row(in this case to "New Date Example"), but having no luck so far.
Any help on this would be great appreciated
Thanks for help!!!
Im trying to use a code stage to loop through a collection i have that contains one column. With each iteration the value in each row in will be updated.
So far i have an input collection in my code stage(input_collection) . This collection contains one column with 1000's of rows. These items are dates and need to be manipulated in some way with each loop. So far ive something like this:
//input_collection is input.
//Loop is set up to loop though each item in input_collection.
for (int j = 0; j < input_collection.Rows.Count; j++)
{
collection.Rows[j][0] = "New Date Example";
}
What i expected this code to do was loop through the entire collection and update each row(in this case to "New Date Example"), but having no luck so far.
Any help on this would be great appreciated
Thanks for help!!!
Last edited: